Evas font: Change font fallback to not depend on fontconfig >= 2.11.

Apparently, it was available for quite a while. It's just a case of confusing documentation
that made me think the minimum version is 2.11.
This commit is contained in:
Tom Hacohen 2014-02-05 13:54:41 +00:00
parent 9cc7e69338
commit ec41f67be4
1 changed files with 0 additions and 2 deletions

View File

@ -786,7 +786,6 @@ evas_font_load(Evas *eo_evas, Evas_Font_Description *fdesc, const char *source,
} }
else /* Add a fallback list from fontconfig according to the found font. */ else /* Add a fallback list from fontconfig according to the found font. */
{ {
#if FC_MAJOR >= 2 && FC_MINOR >= 11
FcResult res; FcResult res;
FT_Face face = evas_common_font_freetype_face_get((RGBA_Font *) font); FT_Face face = evas_common_font_freetype_face_get((RGBA_Font *) font);
@ -809,7 +808,6 @@ evas_font_load(Evas *eo_evas, Evas_Font_Description *fdesc, const char *source,
font = _evas_load_fontconfig(font, evas->evas, set, size, wanted_rend); font = _evas_load_fontconfig(font, evas->evas, set, size, wanted_rend);
} }
} }
#endif
} }
#endif #endif