diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2021-08-31 11:19:38 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2021-08-31 11:20:07 +0100 |
commit | 74f11156cad81f91922dbb9488215a8610cd6d9a (patch) | |
tree | 5c9c1858e944f8881c7c2bf38b90c99a3f10cbc1 /pdf/ghostpdf.h | |
parent | 7677c955cc5ba202fb93d5d2e3948dc3ce196759 (diff) | |
download | ghostpdl-74f11156cad81f91922dbb9488215a8610cd6d9a.tar.gz |
GhostPDF - warn on use of /DeviceN /All
The /All in name is illegal in PDF (it is valid in PostScript). Acrobat
allegedly seems to accept this; if the ink name array only has one
entry and the entry is /All it seems to convert it to a /Sepaaration
/All, which is equivalent.
However sometimes (tests_private/comparefiles/Testform.v1.0.2.pdf) it
throws an error instead. Possibly this is a change in behaviour with
more recent versions of Acrobat.
In any event, we now raise a warning.
Diffstat (limited to 'pdf/ghostpdf.h')
-rw-r--r-- | pdf/ghostpdf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/ghostpdf.h b/pdf/ghostpdf.h index b83e3ea02..9d10d0f74 100644 --- a/pdf/ghostpdf.h +++ b/pdf/ghostpdf.h @@ -115,6 +115,7 @@ typedef enum pdf_warning_e { W_PDF_BAD_ICC_PROFILE_LINK, W_PDF_OVERFLOW_REAL, W_PDF_INVALID_REAL, + W_PDF_DEVICEN_USES_ALL, W_PDF_MAX_WARNING /* Must be last entry, add new warnings immediately before this and update pdf_warning_strings in ghostpdf.c */ } pdf_warning; |