When harfbuzz is enabled, RTL text (arabic, hebrew...) is displayed differently
if the paragraph begins with or without LTR.
The problem was related to the function evas_common_language_script_type_get
and a wrong offset given as parameter to this function.
Thanks to EunYoung Kim for having found this bug.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
+2013-02-19 Daniel Zaoui
+
+ * Fix Evas_Object_Text when LTR and RTL are used in the same paragraph.
+
2013-02-18 Carsten Haitzler (The Rasterman)
* Fix edje edje_color_class_list() and edje_text_class_list() to
* Edje textblock: Improved textblock fit.
* fix anchor clicked mouse signals for selection-enabled entries
* Fix edje_color_class_list() and edje_text_class_list() to look at right hashes.
+ * Evas: Fix Evas_Object_Text when LTR and RTL are used in the same paragraph.
if (tmp_cut > 0)
script_len = tmp_cut;
- script = evas_common_language_script_type_get(text, script_len);
+ script = evas_common_language_script_type_get(text + pos, script_len);
while (script_len > 0)
{