v0.1.0 — standalone module + ASCII85 decoder fix
First tagged release of the maintained continuation of ledongthuc/pdf (rsc/pdf lineage).
Highlights
- Importable as a standalone module:
github.com/chappihappymeal/pdf— no fork orreplacedirective needed. Upstream has no tags at all, so this is also the first semver release in the lineage. - ASCII85 decoder fixed: the sanitizing reader used to strip the
zzero-group shorthand (silently dropping 4 bytes per group — corrupt output,unexpected EOFfrom a chained FlateDecode filter, and a panic escapingPage.Content()), and never signalledio.EOFat the~>end-of-data marker. Reported upstream as ledongthuc/pdf#83 with fix offered as ledongthuc/pdf#84. - Tests: 6 unit tests plus integration tests with synthetic reproduction PDFs in
testdata/, validated against poppler'spdftotextand Python'sbase64.a85decode.
Install
go get github.com/chappihappymeal/pdf@v0.1.0What's next
Triage and absorption of upstream's open bug-fix PRs (hangs, OOMs, truncated-input handling) with original authorship preserved — coming in v0.2.0.