[subset] Correct maxp num glyph's to use new subset plan method.

This commit is contained in:
Garret Rieger 2019-01-28 16:50:56 -08:00
parent 846e05a298
commit 853b1f1aa5
1 changed files with 1 additions and 1 deletions

View File

@ -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);