Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdfonts.py deconding of characters 128-160 #9

Open
kateryna-bud opened this issue Dec 10, 2018 · 0 comments
Open

stdfonts.py deconding of characters 128-160 #9

kateryna-bud opened this issue Dec 10, 2018 · 0 comments

Comments

@kateryna-bud
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant