Evas font-engine: If still after all we can't find a font, use the first.
authorTom Hacohen <tom@stosb.com>
Fri, 3 Jun 2011 20:48:56 +0000 (20:48 +0000)
committerTom Hacohen <tom@stosb.com>
Fri, 3 Jun 2011 20:48:56 +0000 (20:48 +0000)
SVN revision: 59924

legacy/evas/src/lib/engines/common/evas_font_query.c

index 8d92e63..2d72105 100644 (file)
@@ -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