From a96300d42cf0a85ba6fa84eacfe583d8faf9c906 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 16 Dec 2022 15:11:35 -0700 Subject: [PATCH] [colr] Hide internal symbols --- src/harfbuzz-subset.cc | 1 + src/harfbuzz.cc | 1 + src/hb-ot-color-colr-table.hh | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/harfbuzz-subset.cc b/src/harfbuzz-subset.cc index b3a0666dc..c5c66747a 100644 --- a/src/harfbuzz-subset.cc +++ b/src/harfbuzz-subset.cc @@ -41,6 +41,7 @@ #include "hb-ot-shaper-vowel-constraints.cc" #include "hb-ot-tag.cc" #include "hb-ot-var.cc" +#include "hb-paint.cc" #include "hb-set.cc" #include "hb-shape-plan.cc" #include "hb-shape.cc" diff --git a/src/harfbuzz.cc b/src/harfbuzz.cc index b5faf722b..03196eaa6 100644 --- a/src/harfbuzz.cc +++ b/src/harfbuzz.cc @@ -46,6 +46,7 @@ #include "hb-ot-shaper-vowel-constraints.cc" #include "hb-ot-tag.cc" #include "hb-ot-var.cc" +#include "hb-paint.cc" #include "hb-set.cc" #include "hb-shape-plan.cc" #include "hb-shape.cc" diff --git a/src/hb-ot-color-colr-table.hh b/src/hb-ot-color-colr-table.hh index 7194b23fb..6bb28a5bb 100644 --- a/src/hb-ot-color-colr-table.hh +++ b/src/hb-ot-color-colr-table.hh @@ -497,7 +497,7 @@ struct PaintColrLayers return_trace (c->check_struct (this)); } - void paint_glyph (hb_paint_context_t *c) const; + HB_INTERNAL void paint_glyph (hb_paint_context_t *c) const; HBUINT8 format; /* format = 1 */ HBUINT8 numLayers; @@ -771,7 +771,7 @@ struct PaintColrGlyph return_trace (c->check_struct (this)); } - void paint_glyph (hb_paint_context_t *c) const; + HB_INTERNAL void paint_glyph (hb_paint_context_t *c) const; HBUINT8 format; /* format = 11 */ HBUINT16 gid;