diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-02-13 17:34:22 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-13 20:09:14 +0100 |
commit | c6af8f16f63d878371d1a823c12fbf21423505b5 (patch) | |
tree | bd0e33995d016b99d39187f2da04ccbee847504f /src/fontdetection.h | |
parent | 5ad16409847a17534389054a1b7f5fb83703fb4d (diff) | |
download | openttd-c6af8f16f63d878371d1a823c12fbf21423505b5.tar.xz |
Codechange: [Win32] Move Win32-specific font code to a seperate file.
Diffstat (limited to 'src/fontdetection.h')
-rw-r--r-- | src/fontdetection.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fontdetection.h b/src/fontdetection.h index 70b2fe236..9cf39d2b0 100644 --- a/src/fontdetection.h +++ b/src/fontdetection.h @@ -27,7 +27,6 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face); #endif /* WITH_FREETYPE */ -#if defined(WITH_FREETYPE) || defined(_WIN32) /** * We would like to have a fallback font as the current one * doesn't contain all characters we need. @@ -38,8 +37,6 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face); * @param callback The function to call to check for missing glyphs. * @return true if a font has been set, false otherwise. */ -bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, int winlangid, class MissingGlyphSearcher *callback); - -#endif /* defined(WITH_FREETYPE) || defined(WIN32)*/ +bool SetFallbackFont(struct FreeTypeSettings *settings, const char *language_isocode, int winlangid, class MissingGlyphSearcher *callback); #endif |