Files
harfbuzz/test/subset/data/tests/downgrade_cff2.tests
Behdad Esfahbod be6a74f303 [subset] Preserve line directions when specializing CFF charstrings (#6346)
hlineto and vlineto alternate directions for successive arguments.
Combining commands by their operator alone changes geometry: two
vertical segments become a vertical segment followed by a horizontal
one. Merging a mixed run also needs its argument-count parity.

Require odd parity before combining opposite starting directions and
even parity before combining identical h/v operators.

Test all 1,020 orientation sequences through eight segments at stack
limits 4 and 48, reconstructing every point after specialization. The
original specializer fails that test. Add a shifted Source Serif
instance and update its existing downgrade reference. The entire
configured Meson suite passes (277 tests, one skipped).

Assisted-by: Codex
2026-10-10 01:12:39 -06:00

16 lines
170 B
Plaintext

FONTS:
SourceSerif4Variable-Roman-HelloWorld.otf
PROFILES:
downgrade-cff2.txt
SUBSETS:
Hello World
INSTANCES:
wght=400,opsz=20
wght=650,opsz=48
OPTIONS:
no_fonttools