File diff r18423:1b7a6e33cc33 → r18424:91195beac0ac
src/strings.cpp
Show inline comments
 
@@ -1750,7 +1750,7 @@ const char *GetCurrentLanguageIsoCode()
 
 */
 
bool MissingGlyphSearcher::FindMissingGlyphs(const char **str)
 
{
 
	InitFreeType(false);
 
	InitFreeType(this->Monospace());
 
	const Sprite *question_mark[FS_END];
 

	
 
	for (FontSize size = FS_BEGIN; size < FS_END; size++) {
 
@@ -1813,6 +1813,11 @@ class LanguagePackGlyphSearcher : public
 
		return ret;
 
	}
 

	
 
	/* virtual */ bool Monospace()
 
	{
 
		return false;
 
	}
 

	
 
	/* virtual */ void SetFontNames(FreeTypeSettings *settings, const char *font_name)
 
	{
 
#ifdef WITH_FREETYPE
 
@@ -1856,7 +1861,7 @@ void CheckForMissingGlyphs(bool base_fon
 
			/* Our fallback font does miss characters too, so keep the
 
			 * user chosen font as that is more likely to be any good than
 
			 * the wild guess we made */
 
			InitFreeType(false);
 
			InitFreeType(searcher->Monospace());
 
		}
 
	}
 
#endif