1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:08:11 +00:00
serenity/Userland/Libraries/LibGfx/Font
Julian Offenhäuser 22b1e1076a LibGfx: Make OTF prefer Cmap tables of the Windows platform again
As the different Cmap encoding records are guaranteed to be sorted by
their platform ID, we would previously prefer the Macintosh platform
because of its lower ID value. However, this platform is split up into
a lot of encoding formats for different languages, and usually only
English is included. This meant that we could not handle most unicode
characters anymore.

The Windows platform now takes precedence again, as it can handle
arbitrary code points in its supported encodings.

This solution is still far from perfect, but it makes this regression
disappear for now.
2023-01-27 10:59:52 +01:00
..
OpenType LibGfx: Make OTF prefer Cmap tables of the Windows platform again 2023-01-27 10:59:52 +01:00
WOFF LibGfx: Add ability to request glyphs at subpixel offsets to fonts 2023-01-05 12:09:35 +01:00
BitmapFont.cpp LibGfx: Use Core::Stream to write bitmap fonts 2023-01-20 20:50:42 +00:00
BitmapFont.h LibGfx: Remove unused Font::point_size() 2023-01-06 12:02:20 +01:00
Emoji.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00
Emoji.h LibGfx: Change Emoji::emoji_for_code_points to accept const code points 2022-09-16 15:20:59 +02:00
Font.cpp LibGfx: Add ability to request glyphs at subpixel offsets to fonts 2023-01-05 12:09:35 +01:00
Font.h LibGfx: Remove unused Font::point_size() 2023-01-06 12:02:20 +01:00
FontDatabase.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
FontDatabase.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
FontStyleMapping.h Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
PathRasterizer.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00
PathRasterizer.h LibGfx+LibPDF: Apply subpixel offset in affine transformation 2023-01-05 13:50:26 +01:00
ScaledFont.cpp LibGfx: Cache font pixel metrics in ScaledFont 2023-01-24 14:13:59 +01:00
ScaledFont.h LibGfx: Cache font pixel metrics in ScaledFont 2023-01-24 14:13:59 +01:00
Typeface.cpp LibGfx: Migrate Typeface from TTF::Font to Gfx::VectorFont 2022-04-09 23:48:18 +02:00
Typeface.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
VectorFont.h LibGfx: Make Font::preferred_line_height() more correct 2023-01-06 12:02:20 +01:00