From ec41f67be466ca2dea83ce787f74bd4b4d6c71cb Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 5 Feb 2014 13:54:41 +0000 Subject: [PATCH] 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. --- src/lib/evas/canvas/evas_font_dir.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/evas/canvas/evas_font_dir.c b/src/lib/evas/canvas/evas_font_dir.c index 393f9546bc..00a12495e1 100644 --- a/src/lib/evas/canvas/evas_font_dir.c +++ b/src/lib/evas/canvas/evas_font_dir.c @@ -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. */ { -#if FC_MAJOR >= 2 && FC_MINOR >= 11 FcResult res; 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); } } -#endif } #endif