Commit 8f1bf23cc9a8912c452f7571e2a3f35a192a8120

Garret Rieger 2022-09-27T22:50:54

[subset] optimize glyf subsetting w/ retain gids. When retain gids is enabled the subset plan may require the output of many empty glyphs. This change optimizes the glyf subsetting code when the number of retained glyphs << number of output glyphs. Unnessecary lookups to the glyph map are reduced by iterating through the glyph map instead of the output glyph set.