[reportlab-users] Fix for traditional chinese

Isabelle Lecoeuche ilecoeuche at hotmail.com
Tue Apr 10 05:30:31 EDT 2007


Hello,

I believe the encoding associated with traditional chinese font is
incorrect, here is the bit of code that works for me:

in reportlab/pdfbase/_cidfontdata.py, line 133, in defaultUnitcodeEncodings,
use:
'MSung-Light': ('cht', 'UniCNS-UCS2-H'),

(in 2.0 UniGB-UCS2-H is assumed, as for simplified chinese)

Regards,

ILecoeuche_.

_________________________________________________________________
Txt a lot? Get Messenger FREE on your mobile.
https://livemessenger.mobile.uk.msn.com/



More information about the reportlab-users mailing list