From: tasn Date: Thu, 2 Jun 2011 14:31:15 +0000 (+0000) Subject: Evas textblock: Fix skipping of ascii control chars. X-Git-Tag: submit/trunk/20120815.174732~1391 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afb34a3a814f3c6f4392075179a2a3dca066a569;p=profile%2Fivi%2Fevas.git Evas textblock: Fix skipping of ascii control chars. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59900 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/engines/common/evas_font_query.c b/src/lib/engines/common/evas_font_query.c index fa945cf..8d92e63 100644 --- a/src/lib/engines/common/evas_font_query.c +++ b/src/lib/engines/common/evas_font_query.c @@ -70,6 +70,10 @@ evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi /* Itr will end up being the first of the next run */ for ( ; itr < run_end ; itr++) { + /* 0x1F is the last ASCII contral char, just a hack in + * the meanwhile. */ + if (*itr <= 0x1F) + continue; /* Break if either it's not in the font, or if it is in the * script's font. */ if (fi == *script_fi)