mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
Retained subroutine remapping assumes the number preceding a call is in the same program. Caller-supplied targets violate that assumption and can silently change glyph outlines when unused subroutines are removed. Enforce the existing support boundary in CFF1 and CFF2. Report plan failures as serialization errors, rather than silently dropping the CFF table. Explicit desubroutinization still handles the regression fonts and preserves both outlines. Validation: full Meson suite, 272 passed and one skipped. Assisted-by: OpenAI Codex