summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_font_main.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/evas/common/evas_font_main.c b/src/lib/evas/common/evas_font_main.c
index ba56848df1..91db4d52ec 100644
--- a/src/lib/evas/common/evas_font_main.c
+++ b/src/lib/evas/common/evas_font_main.c
@@ -30,14 +30,19 @@ evas_common_font_init(void)
30{ 30{
31 int error; 31 int error;
32 const char *s; 32 const char *s;
33 FT_UInt interpreter_version = TT_INTERPRETER_VERSION_35; 33 FT_UInt interpreter_version =
34#ifndef TT_INTERPRETER_VERSION_35
35 TT_INTERPRETER_VERSION_35;
36#else
37 35;
38#endif
34 39
35 initialised++; 40 initialised++;
36 if (initialised != 1) return; 41 if (initialised != 1) return;
37 error = FT_Init_FreeType(&evas_ft_lib); 42 error = FT_Init_FreeType(&evas_ft_lib);
38 if (error) return; 43 if (error) return;
39 FT_Property_Set(evas_ft_lib, 44 FT_Property_Set(evas_ft_lib, "truetype", "interpreter-version",
40 "truetype", "interpreter-version", &interpreter_version); 45 &interpreter_version);
41 evas_common_font_load_init(); 46 evas_common_font_load_init();
42 evas_common_font_draw_init(); 47 evas_common_font_draw_init();
43 s = getenv("EVAS_FONT_DPI"); 48 s = getenv("EVAS_FONT_DPI");