From 873bf3cf6d14af5231e8d6dfea725a2dc8d3d07f Mon Sep 17 00:00:00 2001 From: tasn Date: Fri, 3 Jun 2011 20:48:56 +0000 Subject: [PATCH] Evas font-engine: If still after all we can't find a font, use the first. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59924 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/engines/common/evas_font_query.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/engines/common/evas_font_query.c b/src/lib/engines/common/evas_font_query.c index 8d92e63..2d72105 100644 --- a/src/lib/engines/common/evas_font_query.c +++ b/src/lib/engines/common/evas_font_query.c @@ -54,6 +54,9 @@ evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi if (base_char == run_end) evas_common_font_glyph_search(fn, &fi, REPLACEMENT_CHAR); + if (!fi) + fi = fn->fonts->data; + *script_fi = fi; } else -- 2.7.4