[reportlab-users] RTL support

Yuriy Asyutin yasyutin at gmail.com
Wed Feb 22 10:12:42 EST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20120222/4846668f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arabic_hello_world.png
Type: image/png
Size: 3542 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20120222/4846668f/attachment.png>


More information about the reportlab-users mailing list