b051f3fa83
The existing code doesn't correctly handle the case where palettes partially overlap in the color record array. This changes the subsetting to only share entries in the color record array when palettes have the same first color index. Partially overlapping palettes will be converted to disjoint segments in the color record array. Updates one of the color tests to use multiple palettes. Also fixes fuzzer: https://oss-fuzz.com/testcase-detail/5568200165687296. |
||
---|---|---|
.. | ||
colr-table.default.6B.ttf | ||
colr-table.drop-hints-retain-gids.6B.ttf | ||
colr-table.drop-hints.6B.ttf | ||
colr-table.retain-gids.6B.ttf |