[reportlab-users] Chinese text (unicode) is not shown in acrobat ( with asian font support ) but is correctly rendered with other interpreters (ghostview)

Ismael Canales Luis reportlab-users@reportlab.com
Wed, 10 Sep 2003 12:16:55 +0200


The font that I use is the ttf mingliu.

My code is something like.

class card( canvas.Canvas ) :


pdfmetrics.registerFont(TTFont('mingliu','mingliu.ttf'))

....

canvas.Canvas.setFont("mingliu",14)
canvas.Canvas.drawString(5.0805*mm,22.5*mm,u'\xE5\xBC\xB5\xE7\xB6\xAD\xE5\x8B\x9D') 


Could somebody help me ? what is happen here ?

Thanks very much in advance.