gopdfrab 1.4.0: PDF/A-2b verification and conversion
PDF/A-2b is here!
1.4.0 is out. Now with PDF/A-2b! The browser validator already runs it.
PDF/A-2b
Use gopdfrab.PDFA2B in Go or --profile pdfa2b on the CLI.
Clause numbers depend on the level
2b numbers a lot of the same rules differently than 1b, so an issue now remembers which level it came from. Text, JSON, summary and CLI all show the clause for that level. The wasm functions take an optional profile name.
Fewer rasterizations
We ran the whole corpus again and found conversions that turned pages into images when they could have fixed them. A font we could not embed used to flatten every page, even the ones that never used it. CID fonts with an odd glyph map had the same problem. Rasterized pages went from 53 to 23 at 2b and from 206 to 87 at 1b. The renderer for the leftovers also does blend modes and soft masks now.
Upgrading
Your Go code still compiles. One thing to know: if a file was updated incrementally, verify now looks at the newest revision, so the verdict for such a file can change. That was a bug. The profiles page has the new profile, and the changelog has everything else.