mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
Two fuzzed fonts whose GSUB has lookups with types like 3586 (0x0E02) and 7432 (0x1D08). HarfBuzz's sanitizer rejects the table, so the text shapes to .notdef glyphs with no lookups applied. HarfRust truncated the type to u8 and ran them as types 2 and 8 (MultipleSubst and ReverseChainSingleSubst): a single "A" became 2048 glyphs (harfbuzz/harfrust#484). Tested with `meson test -C build` (harfbuzz suites: 252 ok, 8 skipped). Assisted-by: Claude