The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
https://github.com/yob/pdf-reader
230 forks.
1.457 stars.
74 open issues.
Recent commits:
- Merge pull request #347 from yob/fix-crash-on-small-pages-with-large-textFix exception in PageLayout when the page is too small to fit the text it holds, GitHub
- Fix exception in PageLayout when the page is too small to fit the text it holdsWhen the page has a 72pt character that would be bigger than the page,our current page layout algorithm assume the character shouldn'tvisible.This fixed a crash, although maybe we could also debate whether droppingthe character is the right behaviour?Fixes #346, James Healy
- Merge pull request #344 from sbilharz/glyph-metrics-lookupLookup glyph metrics by name instead of codepoint, GitHub
- Favor if/else over guard clauseAs requested in the review feedback.https://github.com/yob/pdf-reader/pull/344/files#r567378436, Stefan Bilharz
- Always lookup glyph metrics by nameCodepoints may have been overwritten in the PDF font so the defaultmapping returns wrong values., Stefan Bilharz