[subset] Correct maxp num glyph's to use new subset plan method.
This commit is contained in:
parent
846e05a298
commit
853b1f1aa5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue