mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
Alternate feature serialization lacks the source feature tag, so it cannot identify and retain cvXX, ssXX, or size parameters. Name-ID closure also visits only the original base feature, losing labels referenced by retained alternates or fully instantiated substitutions. Carry source tags for retained features after deduplication. Collect name IDs from the current base feature, retained variation records, and original features used by catch-all records. Add ordinary, full, partial, and range regressions for all three parameter formats in GSUB and GPOS. Ten of twelve regression subtests fail before the fix. The complete Meson suite passes: 284 tests. The changed layout units also compile with HB_NO_VAR. Assisted-by: Codex