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;