OpenTTD Source 20250905-master-g122023be8d
|
Factory for FontCaches. More...
#include <fontcache.h>
Public Member Functions | |
FontCacheFactory (std::string_view name, std::string_view description) | |
virtual std::unique_ptr< FontCache > | LoadFont (FontSize fs, FontType fonttype)=0 |
virtual bool | FindFallbackFont (struct FontCacheSettings *settings, const std::string &language_isocode, class MissingGlyphSearcher *callback)=0 |
![]() | |
constexpr | BaseProvider (std::string_view name, std::string_view description) |
std::string_view | GetName () const |
std::string_view | GetDescription () const |
Additional Inherited Members | |
![]() | |
const std::string_view | name |
const std::string_view | description |
Factory for FontCaches.
Definition at line 220 of file fontcache.h.
|
inline |
Definition at line 222 of file fontcache.h.
|
inlinevirtual |
Definition at line 227 of file fontcache.h.
|
pure virtual |
Implemented in FreeTypeFontCacheFactory, CoreTextFontCacheFactory, and Win32FontCacheFactory.