mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[subset/cff1] Reuse num_glyphs
This commit is contained in:
1 parent
937ead2f02
commit
fa8d15d520
1 file changed
+2
-1
@@ -486,7 +486,8 @@ struct cff_subset_plan {
|
||||
}
|
||||
|
||||
unsigned int glyph;
|
||||
for (glyph = 1; glyph < plan->num_output_glyphs (); glyph++)
|
||||
unsigned num_glyphs = plan->num_output_glyphs ();
|
||||
for (glyph = 1; glyph < num_glyphs; glyph++)
|
||||
{
|
||||
hb_codepoint_t old_glyph;
|
||||
if (!plan->old_gid_for_new_gid (glyph, &old_glyph))
|
||||
|
||||
Reference in new issue
Block a user