diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2022-12-12 10:55:17 +0000 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2022-12-12 10:55:17 +0000 |
commit | 5b9286df3cf7610ac27ee7bef07e272fdd94a02f (patch) | |
tree | 8e92c12b9772d420283f856193bb2876263d70d1 /pdf/pdf_errors.h | |
parent | 3b961fdbd7fda634c7f957f27b097e3352cea314 (diff) | |
download | ghostpdl-5b9286df3cf7610ac27ee7bef07e272fdd94a02f.tar.gz |
GhostPDF - report bad object types when checking for transparency/spots
Specimen file Bug690364.pdf
The old PS-based interpreter used to raise an error when XObjects had
the wrong type. We now do this too.
Diffstat (limited to 'pdf/pdf_errors.h')
-rw-r--r-- | pdf/pdf_errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/pdf_errors.h b/pdf/pdf_errors.h index dbcfad905..f19145e62 100644 --- a/pdf/pdf_errors.h +++ b/pdf/pdf_errors.h @@ -74,4 +74,6 @@ PARAM(E_PDF_BAD_ANNOTATION, "There was an error in an annotation"), PARAM(E_PDF_BAD_XREFSTMOFFSET, "An XRefStm value did not point to a cross reference stream"), PARAM(E_PDF_SMASK_MISSING_G, "An SMask is missing the required Group (/G) key, SMask was ignored"), PARAM(E_PDF_PS_XOBJECT_IGNORED, "An XObject had the Subtype /PS which is deprecated, the XObject was ignored"), +PARAM(E_PDF_TRANS_CHK_BADTYPE, "An object (eg XObject, Pattern) being checked for transparency had the wrong type and was not checked"), +PARAM(E_PDF_SPOT_CHK_BADTYPE, "An object (eg Shading) being checked for spot colours had the wrong type and was not checked"), #undef PARAM |