mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
The dense DefaultUVS copy path merged adjacent source ranges without respecting additionalCount's 8-bit limit. Subsetting 257 consecutive default UVS mappings could leave only one mapping after count truncation. Start a new range before the additional count overflows. Exercise cmap formats 14 and 15 at 1, 255, 256, 257, 512, 513, and 768 mappings, checking both the retained mapping count and the last variation glyph. Built with C++11 and ran the complete Meson suite: 279 passed. Assisted-by: OpenAI Codex