IM 6.7.0-5 makes better rendering but -direction right-to-left is always broke.
Screen shots and process output:
1 - Screen grab of original strings (OUTLOOK MAIL):
2 - IM 6.7.0-5 No RTL, no pre-invertion:
3 - IM 6.7.0-5 with -direction RTL:
4 - IM 6.7.0-5 No RTL but pre-inverted by friend code:
Images 1 & 2 does not need any explanation, image 3 is RTL as made by IM; here i notice a wrong interpretation of glyph ligatures. Image 4 is almost prefect (if string is single line), but is pre-processed in alien application and no RTL is applied by IM.
Just for your possible curiosity, the ARABIC UNICODE string reverser that works can be found at: http://omar84.com/
, Arabic Writer.
Interesting, it has full code exposed in its html.
Update: as bidirectional text is a complex subject and here is only Arabic, one of choice, I think reversing string is just a shortcoming effect to render correctly. Do there is any plan to include i18n
library into IM? May be Pango...
Thanks all for your efforts.