mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00
![]() 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. |
||
---|---|---|
.. | ||
WOFF | ||
WOFF2 | ||
Font.cpp | ||
Font.h | ||
FontData.cpp | ||
FontData.h | ||
FontDatabase.cpp | ||
FontDatabase.h | ||
FontStyleMapping.h | ||
FontSupport.cpp | ||
FontSupport.h | ||
FontVariant.h | ||
FontWeight.h | ||
GlobalFontConfig.cpp | ||
GlobalFontConfig.h | ||
PathFontProvider.cpp | ||
PathFontProvider.h | ||
Typeface.cpp | ||
Typeface.h | ||
TypefaceSkia.cpp | ||
TypefaceSkia.h | ||
UnicodeRange.h |