ladybird/Userland/Libraries/LibGfx/Font
Timothy Flynn 464d7d5858 LibGfx+LibWeb: Allow inexact size lookups when requesting scaled fonts
For bitmap fonts, we will often not have an exact match for requested
sizes. Return the closest match instead of a nullptr.

LibWeb is currently the only user of this API. If it needs to be
configurable in the future to only allow exact matches, we can add a
parameter or another method at that time.
2024-05-06 23:26:42 +00:00
..
OpenType Everywhere: Run clang-format 2024-04-24 16:50:01 -04:00
WOFF LibGfx/OpenType: Make glyph_width() only fetch the glyph advance 2024-03-25 12:39:23 +01:00
WOFF2 LibGfx/OpenType: Make glyph_width() only fetch the glyph advance 2024-03-25 12:39:23 +01:00
BitmapFont.cpp LibGfx+LibWeb: Allow inexact size lookups when requesting scaled fonts 2024-05-06 23:26:42 +00:00
BitmapFont.h LibGfx+LibWeb: Allow inexact size lookups when requesting scaled fonts 2024-05-06 23:26:42 +00:00
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+LibWeb: Allow inexact size lookups when requesting scaled fonts 2024-05-06 23:26:42 +00:00
FontDatabase.cpp Userland: Avoid some conversions from rvalue strings to StringView 2024-04-04 11:23:21 +02:00
FontDatabase.h Everywhere: Mark a bunch of function parameters as NOESCAPE 2024-04-09 09:10:44 +02:00
FontStyleMapping.h LibGfx: Add functions to convert font widths to/from strings 2023-07-20 08:02:12 +01:00
FontWeight.h LibGfx+Userland: Move FontWeight enum into its own file 2024-01-21 09:32:10 -05:00
ScaledFont.cpp LibGfx+LibWeb: Allow inexact size lookups when requesting scaled fonts 2024-05-06 23:26:42 +00:00
ScaledFont.h LibGfx+LibWeb: Allow inexact size lookups when requesting scaled fonts 2024-05-06 23:26:42 +00: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/OpenType: Make glyph_width() only fetch the glyph advance 2024-03-25 12:39:23 +01:00