Commit d9660fd58a3ade1c8962e5cd3f7538a5b5189262

Garret Rieger 2021-11-25T18:15:35

[subset] Make cmap4 packing more optimal. The current CMAP4 implementation uses whatever the current codepoint ranges are and then encodes them as indivudal glyph ids or as a delta if possible. However, it's often possible to save bytes by splitting up existing ranges and encoding parts of them using deltas where the cost of splitting the range is less than encoding each glyph individual.