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>
Change-Id: I9e311e4af3f83709c7efe23408d5df295d670504
* Fixed pixman image wrapping to handle allocated size instead
of image size (unless allocated is 0/wrong).
+
+2013-02-19 Daniel Zaoui
+
+ * Fix Evas_Object_Text when LTR and RTL are used in the same
+ paragraph.
Fixes:
* Fix evas textblock tag parser to respect escaped spaces and escaped single quotes
* Fix the line drawing clipping problem on arm gl driver.
+ * Evas: Fix Evas_Object_Text when LTR and RTL are used in the same paragraph.
Evas 1.7.7
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)
{