Generate PDF with Tamil font problem

2011-03-04 Thread satheesh
Hi All,

   I am using python's reportlab to print some unicode Tamil characters
'பே'. I added necessary unicode font to reportlab. But It
prints the output as 'ேப' (in reverse order). This issue
happens for multi-byte characters, whereas for character 'ப' is
printed as it is.
I am struggling to figure out the issue. Any help would see me on track.

Thank you,
--
SatheeshKumar. P
+91 99446 38595
+91 87544 15303
[email protected]
[email protected]

-- 
http://mail.python.org/mailman/listinfo/python-list


Python wide-python-build unicode for Windows

2011-04-29 Thread satheesh
Hi All,

How could i increase the unicode range beyond 1 ?

In python 2.5.4 by default the unicode range is 0x1, but in some cases
i have unicode char beyond the limit. For those conditions it th an error.

"""File "E:\OpenERP\OpenERP
AllInOne\Server\library.zip\reportlab\pdfbase\ttfonts.py", line 1197, in
splitString
ValueError: unichr() arg not in range(0x1) (narrow Python build)"""

In Linux we can convert the "Narrow Python Build" to "Wide Python Build"
using the command "--enable-unicode=ucs4 configures a wide Py_UNICODE"

But how could i do this in Windows.

Note:
I used OpenERP All in one installer to install python 2.5.


Thank you,
--
SatheeshKumar. P
+91 99446 38595
+91 87544 15303
[email protected]
[email protected]

-- 
http://mail.python.org/mailman/listinfo/python-list