From: Bowon Ryu Date: Wed, 13 Mar 2024 09:33:48 +0000 (+0900) Subject: evas: disable bytecode interpreter X-Git-Tag: accepted/tizen/unified/20240408.160603~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F307816%2F2;p=platform%2Fupstream%2Fefl.git evas: disable bytecode interpreter Change-Id: I09fb8c10fdeacc7c41e9d087407cf5f658978bbb Signed-off-by: Bowon Ryu --- diff --git a/src/lib/evas/common/evas_font_main.c b/src/lib/evas/common/evas_font_main.c index cb237a5..0275a6d 100644 --- a/src/lib/evas/common/evas_font_main.c +++ b/src/lib/evas/common/evas_font_main.c @@ -21,12 +21,15 @@ evas_common_font_init(void) { int error; const char *s; +//TIZEN_ONLY: disable bytecode interpreter +/* FT_UInt interpreter_version = #ifndef TT_INTERPRETER_VERSION_35 TT_INTERPRETER_VERSION_35; #else 35; #endif +*/ _evas_font_log_dom_global = eina_log_domain_register ("evas_font_main", EVAS_FONT_DEFAULT_LOG_COLOR); if (_evas_font_log_dom_global < 0) @@ -38,8 +41,12 @@ evas_common_font_init(void) if (initialised != 1) return; error = FT_Init_FreeType(&evas_ft_lib); if (error) return; + +//TIZEN_ONLY: disable bytecode interpreter +/* FT_Property_Set(evas_ft_lib, "truetype", "interpreter-version", &interpreter_version); +*/ evas_common_font_load_init(); evas_common_font_draw_init(); s = getenv("EVAS_FONT_DPI");