This is intended to preserve old behavior now that we have
evas_common_font_draw_cb() to handle both sync and async callbacks.
However, we need to check where why we end up with no glyphs in a
text_props even after calling evas_common_font_draw_prepare().
SVN revision: 82664
int c, cx, cy, cw, ch;
int i;
+ if (!glyphs) return;
+
im_w = dst->cache_entry.w;
im_h = dst->cache_entry.h;
if (do_async)
{
evas_common_font_draw_prepare(text_props);
+ if (!text_props->glyphs) return EINA_FALSE;
+
evas_common_font_draw_cb(surface, context, x, y, text_props->glyphs,
_font_draw_thread_cmd);
return EINA_TRUE;
#ifdef BUILD_PIPE_RENDER
else if ((cpunum > 1))
evas_common_pipe_text_draw(surface, context, x, y, text_props);
-#endif
+#endif
else
{
evas_common_font_draw_prepare(text_props);