summaryrefslogtreecommitdiff
path: root/pdf/pdf_warnings.h
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2022-12-08 13:19:25 +0000
committerKen Sharp <ken.sharp@artifex.com>2022-12-08 13:19:25 +0000
commit3f70c043d9ec0cc8f61aeffba56adf10aabd6574 (patch)
tree776459d5a28db5a938c1617f1b2fa10726d24cb7 /pdf/pdf_warnings.h
parent80e70b5fa12e5bfa63bb5e1eb56dcdaa4a5ff7da (diff)
downloadghostpdl-3f70c043d9ec0cc8f61aeffba56adf10aabd6574.tar.gz
GhostPDF - more improvements in annotation error reporting
Test file Altona_Measure_1v1.pdf If an annotation has a scale factor of 0 (in this case the annotation Rect is [0 0 0 0]) then we were silently ignoring it. The old PDF interpreter used to give a warning.
Diffstat (limited to 'pdf/pdf_warnings.h')
-rw-r--r--pdf/pdf_warnings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_warnings.h b/pdf/pdf_warnings.h
index fd49710f6..1496ea332 100644
--- a/pdf/pdf_warnings.h
+++ b/pdf/pdf_warnings.h
@@ -76,4 +76,5 @@ PARAM(W_PDF_BAD_ACROFORM, "Bad AcroForm detected"),
PARAM(W_PDF_BAD_OUTPUTINTENTS, "Bad OutputIntents detected"),
PARAM(W_PDF_BAD_PAGELABELS, "A problem was encountered trying to preserve the page Labels"),
PARAM(W_PDF_XREF_OBJECT0_NOT_FREE, "Xref entry for object 0 not a free entry."),
+PARAM(W_PDF_ZEROSCALE_ANNOT, "Annotation has a scale factor of zero and was ignored"),
#undef PARAM