mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-12 19:20:41 +00:00
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.) |
||
---|---|---|
.. | ||
OpenType | ||
WOFF | ||
WOFF2 | ||
BitmapFont.cpp | ||
BitmapFont.h | ||
Emoji.cpp | ||
Emoji.h | ||
Font.cpp | ||
Font.h | ||
FontDatabase.cpp | ||
FontDatabase.h | ||
FontStyleMapping.h | ||
FontWeight.h | ||
ScaledFont.cpp | ||
ScaledFont.h | ||
Typeface.cpp | ||
Typeface.h | ||
UnicodeRange.h | ||
VectorFont.cpp | ||
VectorFont.h |