Mac OS X updates: Force Fontconfig to build font cache prior to splashscreen.
This commit is contained in:
parent
24768b831b
commit
c546a9756e
1 changed files with 0 additions and 13 deletions
|
|
@ -990,11 +990,6 @@ static SDL_Surface *render_text(TuxPaint_Font * restrict font,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
||||||
if (macosx.buildingFontCache == 1)
|
|
||||||
displayMessage(MSG_FONT_CACHE);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NO_SDLPANGO
|
#ifndef NO_SDLPANGO
|
||||||
if (font->typ == FONT_TYPE_PANGO)
|
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);
|
ret = SDLPango_CreateSurfaceDraw(font->pango_context);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
||||||
if (macosx.buildingFontCache == 1)
|
|
||||||
{
|
|
||||||
macosx.buildingFontCache = 0;
|
|
||||||
hideMessage();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (font->typ == FONT_TYPE_TTF)
|
if (font->typ == FONT_TYPE_TTF)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue