mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
A partial TrueType instance can round a child's points and its component offset independently. A later full instance at the remaining axes' defaults recalculates bounds but leaves the source glyph header unchanged, so it can disagree with the stored component geometry and with the updated global bounds. Compile glyphs through the owned-byte path for default pins as well, and free those buffers on both serialization and failure paths. Add a generated regression where partial instancing stores child xMax 11 and component offset 1, then default instancing must write xMax 12. The assertion fails before the fix. The full Meson suite passes with 272 tests successful and one skipped; OTS accepts the source fixture. Assisted-by: OpenAI Codex <codex@openai.com>
928 B
928 B