===================================================== Annotation has a scale factor of zero and was ignored ===================================================== .. footer:: Any operation suggested on this page should be carefully considered before use, as this article is in continuous development. .. contents:: :depth: 2 .. section-numbering:: -------------- Classification -------------- .. list-table:: :align: center * - **Validator** - **Validator version** - **Error message type** * - ghostscript - - exact .. list-table:: :align: center * - **MIME type** - **Version** - **Profile** * - application/pdf - 1.3 - -------- Analyses -------- Analysis ======== There have been cases where tools like PyMuPDF do not find any annotations in the file, but Ghostscript still prints this warning. In other cases the files have actual annotations, which are broken. Further analysis is needed. Is it a bug in the validating software? - no ------------------ Possible solutions ------------------ .. contents:: :local: Remove annotations with Ghostscript =================================== Suggestion ~~~~~~~~~~ Remove the annotations using Ghostscript. Effects ~~~~~~~ All annotations are removed. Ghostscript will convert the file from PDF to PostScript and back to PDF again. The file may lose other features in the process. Justification ~~~~~~~~~~~~~ The file will now be valid, however, you lose all annotations. Execution example ~~~~~~~~~~~~~~~~~ gs -o .pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -dPreserveAnnots=false .pdf -------------- Output example -------------- ------------------ Notes on the error ------------------ ------------------------------ Related errors by source files ------------------------------ :: ghostscript: Annotation has a scale factor of zero and was ignored ghostscript: Quartz PDFContext ghostscript: The file was produced by: macOS Versio 10.14.6 (Build 18G1012) Quartz PDFContext <<<<