[reportlab-users] RTL support

5 views
Skip to first unread message

Yuriy Asyutin

unread,
Feb 22, 2012, 10:12:42 AM2/22/12
to reportlab-users
Hello.

Investigating ability to support RTL-text in ReportLab - I've already reviewed rtl-support branch (http://svn.reportlab.com/svn/public/reportlab/branches/rtl-support). Pyfribidi is not suitable for me because of license type.

Does anybody have experience of using non-GNU GPL libraries for BiDi-algorithm?

PyICU - currently do not have bindings for ubidi, ushape API, which actually performs bidi and Arabic shaping.
python-bidi - performs only bidi-algorithm and do not have Arabic shapes transformation.


Also one issue came to my mind - RTL-text wrapping - looks like current RTL-support branch does not support the case when RTL text need to be wrapped into separate lines. I'm pretty sure the result will be the same I've observed in MS Word. See attachment - this is `Hello world` in arabic after wrapping it becomes `bottom to top` direction instead of `top to bottom` - looks for incorrect behavior, arabic-native speakers please confirm.

Thanks

Best regards,
Yuriy Asyutin
arabic_hello_world.png
Reply all
Reply to author
Forward
0 new messages