summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_font_main.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-10-10 09:26:42 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:16 +0900
commitc8e6f9e5f9d20d67b49a0355b1b42b1ba8689291 (patch)
tree1040a3df18f7b8a893745516d0c6cadf43a06f10 /src/lib/evas/common/evas_font_main.c
parent660ad6e4a414c42364ab555f6f77354a97d04610 (diff)
evas/cserve2: Fix font reloading after cserve2 restart.
Well it LOOKS like it's working properly. Clients can safely keep running after cserve2 crashed and restarted.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_font_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/common/evas_font_main.c b/src/lib/evas/common/evas_font_main.c
index 769114a478..8bc9e68243 100644
--- a/src/lib/evas/common/evas_font_main.c
+++ b/src/lib/evas/common/evas_font_main.c
@@ -560,6 +560,9 @@ evas_common_font_int_cache_glyph_render(RGBA_Font_Glyph *fg)
560#endif 560#endif
561 561
562 /* no cserve2 case */ 562 /* no cserve2 case */
563 if (fg->glyph_out)
564 return EINA_TRUE;
565
563 FTLOCK(); 566 FTLOCK();
564 error = FT_Glyph_To_Bitmap(&(fg->glyph), FT_RENDER_MODE_NORMAL, 0, 1); 567 error = FT_Glyph_To_Bitmap(&(fg->glyph), FT_RENDER_MODE_NORMAL, 0, 1);
565 if (error) 568 if (error)