gopdfrab 1.2.0: fewer rasterized pages, clearer reports
Fewer rasterized pages, a CLI that says when it happens, and fewer false glyph reports.
Fewer pages turned into pictures, and a CLI report that says what was lost.
CLI report
- A problem on many pages prints once, with a count and page range.
--detailrestores the full list. - The text output layout is fixed and documented, so scripts can rely on it.
convertlists pages it rasterized and anything it couldn't draw on them.
Repaired in place instead of rasterized
- Graphics state nested deeper than PDF/A-1 allows.
- Patterns using device colour without a profile.
- Inline images with LZW compression.
- Text asking for a glyph the font doesn't have.
Fewer false reports
Glyph checks sometimes used the wrong font, or looked up TrueType glyphs the wrong way, so missing glyphs were misreported. Files gopdfrab converts that veraPDF used to reject now pass.
Upgrading
A profile that names no supported level, such as Profile{}, used to run no checks and pass every file. Verify and Convert now return an error. Use a built-in profile like gopdfrab.PDFA1B. Everything else is in the changelog.