From: Tom Hacohen Date: Mon, 30 May 2011 08:31:29 +0000 (+0000) Subject: Evas font-engine: Fallback to script_fi if we didn't find another one. X-Git-Tag: submit/devel/efl/20131022.203902~9424 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b72b9fcf57831cf3e928877bf09664089a1af9d;p=platform%2Fupstream%2Fefl.git Evas font-engine: Fallback to script_fi if we didn't find another one. SVN revision: 59803 --- diff --git a/legacy/evas/src/lib/engines/common/evas_font_query.c b/legacy/evas/src/lib/engines/common/evas_font_query.c index b3bb783..d6760a7 100644 --- a/legacy/evas/src/lib/engines/common/evas_font_query.c +++ b/legacy/evas/src/lib/engines/common/evas_font_query.c @@ -137,7 +137,10 @@ evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi } } - *cur_fi = fi; + if (fi) + *cur_fi = fi; + else + *cur_fi = *script_fi; return itr - text; }