A file that claims to be PDF/A may not actually meet the standard: a missing font, an undeclared colour profile, or an encrypted section can all break compliance. veraPDF checks the file against the profile it claims, such as PDF/A-2b, and reports exactly which rules fail.
What you need
- veraPDF installed
- A PDF that claims to be PDF/A
- A note of which PDF/A profile the file claims, such as 2b
Step 1: Run veraPDF with the claimed profile
Run verapdf -f 2b file.pdf to validate against the PDF/A-2b profile. The -f option sets the flavour, and -f 0 lets veraPDF detect the profile from the file metadata instead.
Step 2: Read the validation report
Open the report and note whether the file passed or failed. If it failed, read the list of failed rules and the page or object each one refers to.
Step 3: Fix the failures and re-validate
Fix the reported problems in the source document, regenerate the PDF, and run veraPDF again until the report passes.
Worked example: synthetic veraPDF validation of a thesis PDF
The table below is a synthetic example. It shows the expected result of validating a PDF/A file; no validation was run.
| Check | Result | Verdict |
|---|---|---|
| Profile claimed | PDF/A-2b | As claimed |
| Fonts embedded | All embedded | Pass |
| Colour profile | Missing ICC profile | Fail |
| Encryption | None | Pass |
Expected result (UNTESTED). the file passes 3 of 4 checks but fails on the missing ICC colour profile, so it is not a valid PDF/A-2b file. Add the colour profile in the source document, regenerate, and re-validate. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- veraPDF validates the file against the profile you choose; validating against the wrong profile gives a misleading result.
- A file can pass veraPDF and still be a poor archive copy if the content itself is wrong.
- Some failures, such as a missing font, can only be fixed in the source document, not in the PDF.
