Evas font: Fix font run len calculation.

Co-fixed with MJ :P. Thanks a lot for your report + help.

SVN revision: 60508
This commit is contained in:
Tom Hacohen 2011-06-20 07:28:57 +00:00
parent f742678581
commit c0ca25ea91
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi
}
}
/* Abort if we reached the end */
if (itr == run_end)
break;
/* If the script font doesn't fit even one char, find a new font. */
if (itr == text)
{