From c546a9756e40ccc15cc832348553cefa323f8d66 Mon Sep 17 00:00:00 2001 From: Martin Fuhrer Date: Wed, 20 Feb 2008 05:19:55 +0000 Subject: [PATCH] Mac OS X updates: Force Fontconfig to build font cache prior to splashscreen. --- src/tuxpaint.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 08e3dc2ae..229e221a8 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -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) {