diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-28 21:51:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-29 07:06:13 +0200 |
commit | 264b9b73ac4c47e16554f0e3c7fc8f30ceebddd9 (patch) | |
tree | d88663157e03579bad0d19549d20b5ff16fc8a9f /Userland/Libraries/LibWeb/CSS | |
parent | d01ac59b824244c9927673258f7da522d153e932 (diff) | |
download | serenity-264b9b73ac4c47e16554f0e3c7fc8f30ceebddd9.zip |
LibGfx/OpenType: Ignore glyphs with bogus offsets
Some fonts (like the Bootstrap Icons webfont) have bogus glyph offsets
in the `loca` table that point past the end of the `glyf` table.
AFAICT other rasterizers simply ignore these glyphs and treat them as if
they were missing. So let's do the same.
This makes https://changelog.serenityos.org/ actually work! :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS')
0 files changed, 0 insertions, 0 deletions