summaryrefslogtreecommitdiff
path: root/src/fontcache.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-23 15:20:23 +0000
committerrubidium <rubidium@openttd.org>2013-06-23 15:20:23 +0000
commit13c450a66bef275a88d687e6f500425b91126f8f (patch)
tree9c7dbdcd1d602a1974571f808b89b43d8bbadec0 /src/fontcache.h
parent930c19dae292d5863b201ded98444c9fb2e7b20a (diff)
downloadopenttd-13c450a66bef275a88d687e6f500425b91126f8f.tar.xz
(svn r25436) -Codechange: split the font detection code out of the font caching code
Diffstat (limited to 'src/fontcache.h')
-rw-r--r--src/fontcache.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fontcache.h b/src/fontcache.h
index d3ee5b1ea..786edf906 100644
--- a/src/fontcache.h
+++ b/src/fontcache.h
@@ -49,18 +49,6 @@ const Sprite *GetGlyph(FontSize size, uint32 key);
uint GetGlyphWidth(FontSize size, uint32 key);
bool GetDrawGlyphShadow();
-/**
- * We would like to have a fallback font as the current one
- * doesn't contain all characters we need.
- * This function must set all fonts of settings.
- * @param settings the settings to overwrite the fontname of.
- * @param language_isocode the language, e.g. en_GB.
- * @param winlangid the language ID windows style.
- * @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);
-
#else
/* Stub for initializiation */