aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-03-10 16:15:28 +0000
committerTom Hacohen <tom@stosb.com>2014-03-10 16:25:14 +0000
commitb9664c1059aca533c7175055535bc15e320b8ff5 (patch)
tree777fd8d26391cadb58be7aedc32f4bd5c964fc03
parentrelease: Update NEWS and bump version for 1.9.1 release (diff)
downloadefl-b9664c1059aca533c7175055535bc15e320b8ff5.tar.gz
Evas font: Don't add canvas specific path to the global fontconfig path list.
This will come back when https://phab.enlightenment.org/D621 gets in (which implements it correctly).
-rw-r--r--src/lib/evas/canvas/evas_font_dir.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/evas/canvas/evas_font_dir.c b/src/lib/evas/canvas/evas_font_dir.c
index 0e67bf80a9..f8a8a10d5f 100644
--- a/src/lib/evas/canvas/evas_font_dir.c
+++ b/src/lib/evas/canvas/evas_font_dir.c
@@ -1281,11 +1281,6 @@ _canvas_font_path_clear(Eo *eo_e EINA_UNUSED, void *_pd, va_list *list EINA_UNUS
eina_stringshare_del(evas->font_path->data);
evas->font_path = eina_list_remove(evas->font_path, evas->font_path->data);
}
-
-#ifdef HAVE_FONTCONFIG
- if (fc_config)
- FcConfigAppFontClear(fc_config);
-#endif
}
EAPI void
@@ -1306,10 +1301,6 @@ _canvas_font_path_append(Eo *eo_e EINA_UNUSED, void *_pd, va_list *list)
e->font_path = eina_list_append(e->font_path, eina_stringshare_add(path));
evas_font_init();
-#ifdef HAVE_FONTCONFIG
- if (fc_config)
- FcConfigAppFontAddDir(fc_config, (const FcChar8 *) path);
-#endif
}
EAPI void
@@ -1330,10 +1321,6 @@ _canvas_font_path_prepend(Eo *eo_e EINA_UNUSED, void *_pd, va_list *list)
e->font_path = eina_list_prepend(e->font_path, eina_stringshare_add(path));
evas_font_init();
-#ifdef HAVE_FONTCONFIG
- if (fc_config)
- FcConfigAppFontAddDir(fc_config, (const FcChar8 *) path);
-#endif
}
EAPI const Eina_List *