Mac OS X updates: Force Fontconfig to build font cache prior to splashscreen.

This commit is contained in:
Martin Fuhrer 2008-02-20 05:19:55 +00:00
parent 24768b831b
commit c546a9756e

View file

@ -990,11 +990,6 @@ static SDL_Surface *render_text(TuxPaint_Font * restrict font,
return NULL;
}
#ifdef __APPLE__
if (macosx.buildingFontCache == 1)
displayMessage(MSG_FONT_CACHE);
#endif
#ifndef NO_SDLPANGO
if (font->typ == FONT_TYPE_PANGO)
{
@ -1010,14 +1005,6 @@ static SDL_Surface *render_text(TuxPaint_Font * restrict font,
ret = SDLPango_CreateSurfaceDraw(font->pango_context);
}
#endif
#ifdef __APPLE__
if (macosx.buildingFontCache == 1)
{
macosx.buildingFontCache = 0;
hideMessage();
}
#endif
if (font->typ == FONT_TYPE_TTF)
{