From 853b1f1aa5489b8439c41c30be77ed042c8c89e5 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Mon, 28 Jan 2019 16:50:56 -0800 Subject: [PATCH] [subset] Correct maxp num glyph's to use new subset plan method. --- src/hb-ot-maxp-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-maxp-table.hh b/src/hb-ot-maxp-table.hh index e0e6bd787..10bd592e8 100644 --- a/src/hb-ot-maxp-table.hh +++ b/src/hb-ot-maxp-table.hh @@ -105,7 +105,7 @@ struct maxp } maxp *maxp_prime = (maxp *) hb_blob_get_data (maxp_prime_blob, nullptr); - maxp_prime->set_num_glyphs (plan->num_glyphs); + maxp_prime->set_num_glyphs (plan->num_output_glyphs ()); if (plan->drop_hints) drop_hint_fields (plan, maxp_prime);