From f7147835eb3e3397ec5ad37bd6b9e1a4dfbd4f9d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 15 Jul 2022 16:03:25 -0600 Subject: [PATCH] [colr] Add MIN_SIZE to Paint --- src/hb-ot-color-colr-table.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-ot-color-colr-table.hh b/src/hb-ot-color-colr-table.hh index 09d762fcb..f01d383bd 100644 --- a/src/hb-ot-color-colr-table.hh +++ b/src/hb-ot-color-colr-table.hh @@ -524,6 +524,7 @@ struct PaintSweepGradient }; struct Paint; + // Paint a non-COLR glyph, filled as indicated by paint. struct PaintGlyph { @@ -1152,6 +1153,8 @@ struct Paint Variable paintformat31; PaintComposite paintformat32; } u; + public: + DEFINE_SIZE_MIN (2); }; struct BaseGlyphPaintRecord