[reportlab-users] Incorrect rendering of Devanagari glyphs by reportlab
Kush Sharma
kush.iitk+reportlab at gmail.com
Tue Jul 7 05:45:51 EDT 2009
Hi,
I am trying to develop an application which needs to create PDF files. The
data I need to publish contains English as well as Hindi text (Devanagari
script). However, reportlab is not able to render the Devanagari glyphs
correctly. The code to write a sample devanagari text to PDF is attached
alongwith the obtained PDF and expected/correct PDF. This code uses the
mangal.ttf font available with windows distribution. It would be great if
anyone could help resolve this issue.
Thanks.
With Regards,
Kush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090707/e6e823ea/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fonttest.py
Type: application/octet-stream
Size: 515 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090707/e6e823ea/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fonttest.pdf
Type: application/pdf
Size: 8943 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090707/e6e823ea/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: correct.pdf
Type: application/pdf
Size: 8995 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090707/e6e823ea/attachment-0003.pdf>
More information about the reportlab-users
mailing list