forked from enlightenment/efl
Only use work and metric cacheing on 3 character or longer strings.
SVN revision: 49988
This commit is contained in:
parent
ac552cd762
commit
b304ae1642
|
@ -413,8 +413,7 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
|
|||
for (len = 0 ; text[len] && len < WORD_CACHE_MAXLEN ; len ++)
|
||||
;
|
||||
|
||||
|
||||
if (len < WORD_CACHE_MAXLEN){
|
||||
if (len > 2 && len < WORD_CACHE_MAXLEN){
|
||||
struct prword *word = evas_font_word_prerender(dc, text, len, fn, fi,
|
||||
use_kerning);
|
||||
if (word){
|
||||
|
|
Loading…
Reference in New Issue