1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00
serenity/Userland/Libraries/LibGfx/Font
Andreas Kling f900957d26 LibGfx+LibWeb: Move Gfx::ScaledFont caching from LibWeb into LibGfx
Before this change, we would only cache and reuse Gfx::ScaledFont
instances for downloaded CSS fonts.

By moving it into Gfx::VectorFont, we get caching for all vector fonts,
including local system TTFs etc.

This avoids a *lot* of style invalidations in LibWeb, since we now vend
the same Gfx::Font pointer for the same font when used repeatedly.
2023-12-26 18:15:55 +01:00
..
OpenType Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WOFF Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WOFF2 LibGfx: Use FourCC as OpenType::Tag type 2023-11-24 08:42:46 +01:00
BitmapFont.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
BitmapFont.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Emoji.cpp Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
Emoji.h LibGfx+LibUnicode: Support specifying the path to search for emoji 2023-03-01 14:54:16 +00:00
Font.cpp LibGfx: Do not use divisions when calculating font subpixel offsets 2023-06-01 15:13:57 +02:00
Font.h LibGfx: Improve tie-breaking in Typeface::get_font 2023-11-09 16:09:18 +01:00
FontDatabase.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
FontDatabase.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FontStyleMapping.h LibGfx: Add functions to convert font widths to/from strings 2023-07-20 08:02:12 +01:00
ScaledFont.cpp LibGfx+LibWeb: Move Gfx::ScaledFont caching from LibWeb into LibGfx 2023-12-26 18:15:55 +01:00
ScaledFont.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
Typeface.cpp LibGfx+LibWeb: Move Gfx::ScaledFont caching from LibWeb into LibGfx 2023-12-26 18:15:55 +01:00
Typeface.h LibGfx: Convert FontDatabase APIs to use FlyString 2023-09-06 11:29:03 -04:00
UnicodeRange.h LibWeb+LibGfx: Move UnicodeRange from LibWeb to LibGfx 2023-12-10 17:32:04 +01:00
VectorFont.cpp LibGfx+LibWeb: Move Gfx::ScaledFont caching from LibWeb into LibGfx 2023-12-26 18:15:55 +01:00
VectorFont.h LibGfx+LibWeb: Move Gfx::ScaledFont caching from LibWeb into LibGfx 2023-12-26 18:15:55 +01:00