mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-04 19:55:32 +00:00
Some fonts have empty slices for glyphs with 0 contours, even though the spec requires them to store a 0 for instructionLength as far as I can tell. But let's not assert on invalid fonts like this, but instead handle them gracefully. Supersedes #22570. Fixes the last two crashes on my 1000-file test set: 0000246.pdf and 0000431.pdf.