summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_textblock.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_textblock.c b/legacy/evas/src/lib/canvas/evas_object_textblock.c
index 31565c39f0..7ad67e2e4c 100644
--- a/legacy/evas/src/lib/canvas/evas_object_textblock.c
+++ b/legacy/evas/src/lib/canvas/evas_object_textblock.c
@@ -2800,25 +2800,20 @@ skip:
2800 if (ti->parent.text_node) 2800 if (ti->parent.text_node)
2801 { 2801 {
2802 int tmp_cut; 2802 int tmp_cut;
2803 tmp_cut = evas_common_language_script_end_of_run_get( 2803 tmp_cut = evas_common_language_script_end_of_run_get(str,
2804 GET_ITEM_TEXT(ti), 2804 c->par->bidi_props, ti->parent.text_pos, tmp_len);
2805 c->par->bidi_props,
2806 ti->parent.text_pos, tmp_len);
2807 if (tmp_cut > 0) 2805 if (tmp_cut > 0)
2808 { 2806 {
2809 tmp_len = tmp_cut; 2807 tmp_len = tmp_cut;
2810 } 2808 }
2811 evas_common_text_props_bidi_set(&ti->text_props, 2809 evas_common_text_props_bidi_set(&ti->text_props,
2812 c->par->bidi_props, ti->parent.text_pos); 2810 c->par->bidi_props, ti->parent.text_pos);
2813 evas_common_text_props_script_set (&ti->text_props, 2811 evas_common_text_props_script_set(&ti->text_props, str, tmp_len);
2814 GET_ITEM_TEXT(ti), tmp_len);
2815 if (ti->parent.format->font.font) 2812 if (ti->parent.format->font.font)
2816 { 2813 {
2817 c->ENFN->font_text_props_info_create(c->ENDT, 2814 c->ENFN->font_text_props_info_create(c->ENDT,
2818 ti->parent.format->font.font, 2815 ti->parent.format->font.font, str, &ti->text_props,
2819 GET_ITEM_TEXT(ti), &ti->text_props, 2816 c->par->bidi_props, ti->parent.text_pos, tmp_len);
2820 c->par->bidi_props,
2821 ti->parent.text_pos, tmp_len);
2822 } 2817 }
2823 } 2818 }
2824 str += tmp_len; 2819 str += tmp_len;