summaryrefslogtreecommitdiff
path: root/src/modules/evas
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2016-02-04 10:07:08 +0000
committerTom Hacohen <tom@stosb.com>2016-02-04 10:07:08 +0000
commit33ea5653477c97072c62c7d7d32b6263b89f8509 (patch)
tree5a41cc817268321a05eac6cb82c7a86ebc7fc8b0 /src/modules/evas
parenta7b60528b9735a58440114cc3817bf958e24aca5 (diff)
Evas: Use proper language for harfbuzz shaping
Summary: Evas Text, Textblock, Textgrid keeps own language information. This language information could be vary from the result of setlocale(). Especially, Evas Textblock supports <lang> tag. The language could be changed in the middle of text. All of these language has to be used for harfbuzz shaping. @fix Test Plan: N/A Reviewers: herdsman, raster, woohyun, tasn Reviewed By: tasn Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3628
Diffstat (limited to 'src/modules/evas')
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 8a4429a592..e1478143cf 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -2729,10 +2729,10 @@ eng_font_pen_coords_get(void *data EINA_UNUSED, Evas_Font_Set *font, const Evas_
2729} 2729}
2730 2730
2731static Eina_Bool 2731static Eina_Bool
2732eng_font_text_props_info_create(void *data EINA_UNUSED, Evas_Font_Instance *fi, const Eina_Unicode *text, Evas_Text_Props *text_props, const Evas_BiDi_Paragraph_Props *par_props, size_t par_pos, size_t len, Evas_Text_Props_Mode mode) 2732eng_font_text_props_info_create(void *data EINA_UNUSED, Evas_Font_Instance *fi, const Eina_Unicode *text, Evas_Text_Props *text_props, const Evas_BiDi_Paragraph_Props *par_props, size_t par_pos, size_t len, Evas_Text_Props_Mode mode, const char *lang)
2733{ 2733{
2734 return evas_common_text_props_content_create((RGBA_Font_Int *) fi, text, 2734 return evas_common_text_props_content_create((RGBA_Font_Int *) fi, text,
2735 text_props, par_props, par_pos, len, mode); 2735 text_props, par_props, par_pos, len, mode, lang);
2736} 2736}
2737 2737
2738static int 2738static int