| 136 | |
| 137 | #ifndef DISABLE_TTF |
| 138 | static bool LoadFont(LocalisationService& localisationService, TTFFontSetDescriptor* font) |
| 139 | { |
| 140 | TTFDispose(); |
| 141 | localisationService.UseTrueTypeFont(true); |
| 142 | |
| 143 | gCurrentTTFFontSet = font; |
| 144 | |
| 145 | bool fontInitialised = TTFInitialise(); |
| 146 | return fontInitialised; |
| 147 | } |
| 148 | |
| 149 | static bool LoadCustomConfigFont(LocalisationService& localisationService) |
| 150 | { |
no test coverage detected