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

Wrong boolean keywords #37

Open
Unrud opened this issue Sep 25, 2015 · 2 comments · May be fixed by #220
Open

Wrong boolean keywords #37

Unrud opened this issue Sep 25, 2015 · 2 comments · May be fixed by #220

Comments

@Unrud
Copy link

Unrud commented Sep 25, 2015

Boolean values get converted to "True" and "False". According to the PDF reference it must be lower-case.

@pmaupin
Copy link
Owner

pmaupin commented Sep 25, 2015

Thank you for the bug report. I will have to look at how/if to deal with that -- pdfrw actually used to work with Python 2.1 -- before Python had True and False objects.

Meanwhile, you can easily put the correct 'true' and 'false' into PDFs by using PdfObject('true') or PdfObject('false'). Sorry for the inconvenience.

@pmaupin pmaupin closed this as completed Sep 25, 2015
@pmaupin pmaupin reopened this Sep 25, 2015
@pmaupin
Copy link
Owner

pmaupin commented Sep 25, 2015

Hit the wrong button -- didn't mean to close...

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

Successfully merging a pull request may close this issue.

2 participants