Evas font: Workaround an issue with metric cache.

SVN revision: 62536
This commit is contained in:
Tom Hacohen 2011-08-17 15:42:01 +00:00
parent ef8476152d
commit 6858025fce
1 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,10 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
}
if (xrun < 1) return;
# ifdef WORD_CACHE
/* For some reason, metric and word chache are exactly the same except for
* this piece of code that makes metric go nuts. ATM, we'll just go the
* WORD_CACHE path. */
#if defined(METRIC_CACHE) || defined(WORD_CACHE)
if (word->im)
{
for (j = rowstart ; j < rowend ; j ++)