Skip to content

fix getEncoder when both ToUnicode and Encoding keys are present#1

Open
martoche wants to merge 3 commits intoEndFirstCorp:masterfrom
martoche:master
Open

fix getEncoder when both ToUnicode and Encoding keys are present#1
martoche wants to merge 3 commits intoEndFirstCorp:masterfrom
martoche:master

Conversation

@martoche
Copy link

Two fixes in this PR:

pages begin at index 1, and end at NumPage()
See for example http://pdfkit.org/demo/out.pdf. Font dictionaries
have the keys Encoding and ToUnicode. In this case, charmapEncoding
should be used.
See page 146 of the PDF 1.7 spec: a page /Contents can be a stream,
or an array of streams.
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

Successfully merging this pull request may close these issues.

1 participant