Distrotech / reportlab

Mirror of https://bitbucket.org/rptlab/reportlab
Other
59 stars 42 forks source link

stdfonts.py deconding of characters 128-160 #9

Open kateryna-bud opened 5 years ago

kateryna-bud commented 5 years ago

Hi,

I've rendered the pdf with stdfonts.py for special characters. I'm using python 3.5 Line 59 canv.drawString(x+44, y, chr(byt).decode(encLabel,'ignore').encode('utf8')) not working with python 3.5 Without decoding part canv.drawString(x+44, y, chr(byt).encode('utf8')) it does not output characters 128-160.

Cheers, Kateryna