Generate PDF with Tamil font problem

Robin Becker robin at reportlab.com
Tue Mar 8 07:50:34 EST 2011


On 05/03/2011 05:20, satheesh at e-ndicus.com wrote:
> 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.
.......

you can ask at the reportlab mailing list reportlab-users at reportlab.com; the use 
of numeric entities is supported in paragraph text, but not in canvas.drawString 
and similar. There you need to use either  unicode or a utf8 encoded byte string.
-- 
Robin Becker



More information about the Python-list mailing list