make font cache flush 0 out font cache size first
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Feb 2011 06:12:09 +0000 (06:12 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Feb 2011 06:12:09 +0000 (06:12 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@56890 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/software_generic/evas_engine.c

index c8b3063..c96fd5e 100644 (file)
@@ -772,7 +772,12 @@ eng_font_draw(void *data __UNUSED__, void *context, void *surface, void *font, i
 static void
 eng_font_cache_flush(void *data __UNUSED__)
 {
+   int tmp_size;
+
+   tmp_size = evas_common_font_cache_get();
+   evas_common_font_cache_set(0);
    evas_common_font_flush();
+   evas_common_font_cache_set(tmp_size);
 }
 
 static void