forked from enlightenment/efl
Evas font-engine: Don't break if there was a previous miss. This is a workaround for a bug in the font index caching mechanism that happens if you cache the index miss before all the fonts were changed. We should probably just put a "dirty" flag on font sets that loaded more fonts or something like that.
SVN revision: 54157
This commit is contained in:
parent
6c1cd431a2
commit
da512dde9b
|
@ -326,7 +326,13 @@ evas_common_font_glyph_search(RGBA_Font *fn, RGBA_Font_Int **fi_ret, int gl)
|
|||
*fi_ret = fm->fint;
|
||||
return fm->index;
|
||||
}
|
||||
#if 0
|
||||
/* Returning here because of a previous miss when searching the
|
||||
* glyph causes a bug when glyph caching was before all the
|
||||
* fonts were loaded, I have no idea how to fix it cleanly,
|
||||
* not at the moment anyway. -- TAsn */
|
||||
else if (fm->index == -1) return 0;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue