1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries/LibGfx/Font
Sam Atkins 5a1c73d7e2 LibGfx+LibWeb: Update definitions of supported font formats and features
Based very scientifically on what's listed here:
https://harfbuzz.github.io/what-does-harfbuzz-do.html

I've moved the code into LibGfx because including a HarfBuzz header
directly from LibWeb is a little unpleasant. But the Gfx::FontTech enum
follows the CSS definitions for font features for simplicity.

TrueType collections are supported. SVG and Embedded OpenType are not,
but they're not widely supported by other browsers so that's fine.

Most of the features are completely supported by HarfBuzz, so we can
just return true. Graphite support is optional (and it appears we use a
build of HarfBuzz without it) but there's a define we can check.
Incremental Font Transfer is a whole separate thing that we definitely
don't support yet.
2025-06-05 12:10:29 +01:00
..
WOFF LibGfx: Rename WOFF[2]::try_load_from_externally_owned_memory() 2025-05-03 12:01:43 +01:00
WOFF2 LibGfx: Rename WOFF[2]::try_load_from_externally_owned_memory() 2025-05-03 12:01:43 +01:00
Font.cpp LibGfx: Join SkiaFont.cpp into Font 2025-04-21 09:51:16 +02:00
Font.h LibGfx: Join ScaledFont into Font 2025-04-21 09:51:16 +02:00
FontData.cpp LibGfx: Store Core::Resources in RefPtr to const 2025-04-16 10:41:44 -06:00
FontData.h LibGfx: Store Core::Resources in RefPtr to const 2025-04-16 10:41:44 -06:00
FontDatabase.cpp LibGfx: Improve logical separation of font_directories' ifdefs 2025-05-26 12:14:29 -06:00
FontDatabase.h LibCore+LibGfx: Move font_directories from LibCore to LibGfx 2025-05-26 12:14:29 -06:00
FontStyleMapping.h
FontSupport.cpp LibGfx+LibWeb: Update definitions of supported font formats and features 2025-06-05 12:10:29 +01:00
FontSupport.h LibGfx+LibWeb: Update definitions of supported font formats and features 2025-06-05 12:10:29 +01:00
FontVariant.h LibWeb: Style font-variant-* css properties 2024-12-17 19:07:13 +01:00
FontWeight.h
GlobalFontConfig.cpp LibGfx: Rely on fontconfig(if enabled) for font directory resolution 2025-05-26 12:14:29 -06:00
GlobalFontConfig.h LibGfx: Rely on fontconfig(if enabled) for font directory resolution 2025-05-26 12:14:29 -06:00
PathFontProvider.cpp LibGfx: Enable otf fonts 2025-05-26 12:14:29 -06:00
PathFontProvider.h LibGfx: Clean up #include directives 2024-11-20 21:13:23 +01:00
Typeface.cpp LibGfx: Add a helper for constructing a TTF font from temporary bytes 2025-05-03 12:01:43 +01:00
Typeface.h LibGfx: Add a helper for constructing a TTF font from temporary bytes 2025-05-03 12:01:43 +01:00
TypefaceSkia.cpp Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
TypefaceSkia.h
UnicodeRange.h LibGfx: Serialize unicode-ranges in uppercase 2025-04-07 10:00:21 +01:00