This is a no-configuration converter from any PDF file into a PDF/A A-1b (using PDF 1.4 format). The metadata for Title
and Creator
come from the plain PDF tags Title
and Author
.
Any feature in the PDF that is not allowed in PDF/A is removed to ensure PDF/A conformance. Ghostscript will output warning for each occurrence of these featured in the input PDF. When converting a thesis PDF file, the most frequently features dropped by Ghostscript will likely be the PDF annotations (used among other thing to create hyperlinks).
PDF/A requires that not only fonts, but also color profiles be defined and embedded. To provide a configuration-free experience, sRGB is chosen as the profile (the srgb.icc
file comes from Ghostscript 9.53.2 distribution).
Warning: This was created to satisfy PDF/A requirements made by a university library. This script has not been tested for other use cases.
What is different from http://pdfa.bu.ufsc.br/ ?
- The output PDF passes VeraPDF validation
- No visual artifacts. The online service causes the whole page (including text) to become pixelated when there is an image included
- The output PDF is 1.4 (as intended by A-1b) instead of 1.7
- All required metadata tags are filled both in PDF and XMP
- The color profile is defined and embedded
- The file is usually larger
What is different from pdfx
pdfx is a LaTeX package and runs during regular compilation of the LaTeX file. The issue that motivated using Ghostscript was pdfx failure to embed Helvetica and Courier fonts (which are special fonts that should never be embedded -- except for PDF/A). Maybe that has been resolved (or maybe it is a feature).