From 90d278c92e2ef076d2b239fed56a9dc11f4b6c12 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 6 May 2022 11:58:53 -0600 Subject: [PATCH] [gvar] Remove requirement that num_glyphs matches the font's --- src/hb-ot-var-gvar-table.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hb-ot-var-gvar-table.hh b/src/hb-ot-var-gvar-table.hh index 05c1fafd1..54d7fa1b1 100644 --- a/src/hb-ot-var-gvar-table.hh +++ b/src/hb-ot-var-gvar-table.hh @@ -390,7 +390,6 @@ struct gvar { TRACE_SANITIZE (this); return_trace (c->check_struct (this) && (version.major == 1) && - (glyphCount == c->get_num_glyphs ()) && sharedTuples.sanitize (c, this, axisCount * sharedTupleCount) && (is_long_offset () ? c->check_array (get_long_offset_array (), glyphCount+1) :