Files
ladybird/Userland/Libraries/LibGfx
Nico Weber 93ee01041f LibGfx/OpenType: Validate we can read the active cmap subtable format
We now reject fonts where the active cmap subtable is in a format
we can't read yet, instead of silently drawing squares for all glyphs.

This doesn't fire at all for my 1000-file PDF test set, but seems
like a good thing to check.

(Instead of duplicating the switch, I first tried making a
glyph_id_for_code_point_or_else() that returns ErrorOr<u32> and then
make both glyph_id_for_code_point() and validate_format_can_be_read()
call that, but I liked less how that worked out -- felt too clever.)
2024-02-08 13:48:33 +00:00
..
2024-01-26 07:36:53 +01:00
2024-01-26 07:36:53 +01:00
2024-01-10 09:39:00 +01:00
2023-11-24 08:42:46 +01:00
2024-01-30 10:02:33 +01:00