Definition at line 269 of file font_win32.cpp.
◆ Win32FontCacheFactory()
Win32FontCacheFactory::Win32FontCacheFactory |
( |
| ) |
|
|
inline |
◆ FindFallbackFont()
◆ LoadFont()
Loads the GDI font.
If a GDI font description is present, e.g. from the automatic font fallback search, use it. Otherwise, try to resolve it by font name.
- Parameters
-
Implements FontCacheFactory.
Definition at line 279 of file font_win32.cpp.
References convert_to_fs(), FS_MONO, GetFontCacheFontName(), GetFontCacheFontSize(), GetFontCacheSubSetting(), settings, StrContainsIgnoreCase(), and TrueType.
◆ LoadWin32Font()
static std::unique_ptr< FontCache > Win32FontCacheFactory::LoadWin32Font |
( |
FontSize |
fs, |
|
|
const LOGFONT & |
logfont, |
|
|
uint |
size, |
|
|
std::string_view |
font_name |
|
) |
| |
|
inlinestaticprivate |
◆ TryLoadFontFromFile()
static bool Win32FontCacheFactory::TryLoadFontFromFile |
( |
const std::string & |
font_name, |
|
|
LOGFONT & |
logfont |
|
) |
| |
|
inlinestaticprivate |
◆ instance
The documentation for this class was generated from the following file: