Definition at line 211 of file freetypefontcache.cpp.
◆ FreeTypeFontCacheFactory()
FreeTypeFontCacheFactory::FreeTypeFontCacheFactory |
( |
| ) |
|
|
inline |
◆ ~FreeTypeFontCacheFactory()
virtual FreeTypeFontCacheFactory::~FreeTypeFontCacheFactory |
( |
| ) |
|
|
inlinevirtual |
◆ FindFallbackFont()
◆ LoadFont() [1/2]
Loads the freetype font.
First try to load the fontname as if it were a path. If that fails, try to resolve the filename of the font using fontconfig, where the format is 'font family name' or 'font family name, font style'.
- Parameters
-
Implements FontCacheFactory.
Definition at line 228 of file freetypefontcache.cpp.
References BASE_DIR, Debug, FioFindFullPath(), GetFontByFaceName(), GetFontCacheFontName(), GetFontCacheFontSize(), GetFontCacheSubSetting(), LoadFont(), settings, and TrueType.
Referenced by LoadFont().
◆ LoadFont() [2/2]
static std::unique_ptr< FontCache > FreeTypeFontCacheFactory::LoadFont |
( |
FontSize |
fs, |
|
|
FT_Face |
face, |
|
|
std::string_view |
font_name, |
|
|
uint |
size |
|
) |
| |
|
inlinestaticprivate |
◆ instance
The documentation for this class was generated from the following file: