From 60d959a6e7b73ce6492fb1b49b91aefe81ad99a5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 13 Oct 2022 14:15:36 -0600 Subject: [PATCH] [glyf/VarComposite] Add use_my_metrics() --- src/OT/glyf/VarCompositeGlyph.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/OT/glyf/VarCompositeGlyph.hh b/src/OT/glyf/VarCompositeGlyph.hh index d88003cfa..aa785ca77 100644 --- a/src/OT/glyf/VarCompositeGlyph.hh +++ b/src/OT/glyf/VarCompositeGlyph.hh @@ -49,6 +49,8 @@ struct VarCompositeGlyphRecord return size; } + bool is_use_my_metrics () const { return flags & USE_MY_METRICS; } + void transform_points (contour_point_vector_t &points) const { float matrix[4];