aboutsummaryrefslogtreecommitdiffstats
path: root/text/fonts.py
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 16:15:37 +0100
committereunhhu <[email protected]>2026-09-28 16:15:37 +0100
commite30e3c2f17fb26cddc91e9f950f6f26948fa8e0e (patch)
treec28cd4b29189646a0f73d4a478b1cf76378e4555 /text/fonts.py
parentea6dbcf627e9a440590d0d35ff16ca7ae60d5719 (diff)
downloadvega-e30e3c2f17fb26cddc91e9f950f6f26948fa8e0e.tar.gz
vega-e30e3c2f17fb26cddc91e9f950f6f26948fa8e0e.zip
Go on past a runaway GSUB as HarfBuzz does
A font whose GSUB grows the buffer past its bounds (text-rendering-tests' GSUB-3) made vega_shape fail. HarfBuzz goes on with the glyphs of the last pass that finished: every later pass does nothing, positions are the default advances. Vega's buffer operations already stand still once the buffer is unsuccessful, so it now goes on too, and a broken font shows what HarfBuzz shows rather than nothing. HarfBuzz's suite: 5018 of 5199 the same, none failing.
Diffstat (limited to 'text/fonts.py')
0 files changed, 0 insertions, 0 deletions