Don't block waiting for response to font_load before

requesting glyphs, the server can handle dependencies
 now.



SVN revision: 73059
This commit is contained in:
Iván Briano 2012-06-29 22:04:13 +00:00
parent 05e634b68a
commit d744044de7
1 changed files with 6 additions and 2 deletions

View File

@ -1167,7 +1167,9 @@ evas_cserve2_font_glyph_request(Font_Entry *fe, unsigned int idx, Font_Hint_Flag
CS_Glyph_Out *glyph;
if (fe->rid)
_server_dispatch_until(fe->rid);
_server_dispatch_until(0); /* dispatch anything pending just to avoid
requesting glyphs for a font we may already
know it failed loading, but don't block */
if (fe->failed)
return EINA_FALSE;
@ -1212,7 +1214,9 @@ evas_cserve2_font_glyph_used(Font_Entry *fe, unsigned int idx, Font_Hint_Flags h
CS_Glyph_Out *glyph;
if (fe->rid)
_server_dispatch_until(fe->rid);
_server_dispatch_until(0); /* dispatch anything pending just to avoid
requesting glyphs for a font we may already
know it failed loading, but don't block */
if (fe->failed)
return EINA_FALSE;