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

Fixed CMap and SimpleFont parsing #70

Closed
wants to merge 7 commits into from
Closed

Conversation

dzindra
Copy link

@dzindra dzindra commented Jun 3, 2013

CMap changes

FontDescriptor changes

  • do not dump font data into file (probably some forgotten debug)

Scanner changes

  • do not convert pdf string with font in StringDetector
  • properly create content string
  • there is only one possible selection (no need for an array imho)

SimpleFont

  • do not treat text as utf8 but as sequence of bytes in simple fonts (as per PDF specification)
  • fixed widthOfSpace method (space may also be mapped to some other glyph)

also in readme I fixed example code

@KurtCode
Copy link
Owner

KurtCode commented Jul 8, 2013

Merged. Thanks for you contribution!

@KurtCode KurtCode closed this Jul 8, 2013
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.

2 participants