summaryrefslogtreecommitdiff
path: root/pdf/pdf_warnings.h
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2022-12-16 08:41:50 +0000
committerKen Sharp <ken.sharp@artifex.com>2022-12-16 08:41:50 +0000
commit9cbafb52fbc9c4730d60d38fd801354b73e10ab5 (patch)
tree595c0a25108ce6980411f7f098e63eceb44927aa /pdf/pdf_warnings.h
parent13bc44899493fd0f0f479f71369817f7c43e3353 (diff)
downloadghostpdl-9cbafb52fbc9c4730d60d38fd801354b73e10ab5.tar.gz
GhostPDF - split out warning for images with string /Name objects
This is so common I got fed up investigating it and have split it out from the 'recoverable image error'. Images may (and in PDF 1,0 must) have a /Name key whose value is a name. We have many examples of files where the value is a string.
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 b2c1badac..e9b15ead3 100644
--- a/pdf/pdf_warnings.h
+++ b/pdf/pdf_warnings.h
@@ -26,6 +26,7 @@ PARAM(W_PDF_BAD_INLINECOLORSPACE, "used inline colour space inappropriately"),
PARAM(W_PDF_BAD_INLINEIMAGEKEY, "used inline image key inappropriately"),
PARAM(W_PDF_IMAGE_ERROR, "recoverable image error"),
PARAM(W_PDF_BAD_IMAGEDICT, "recoverable error in image dictionary"),
+PARAM(W_PDF_BAD_IMAGENAME, "An image dictionary has a /Name key whose value is not a name object"),
PARAM(W_PDF_TOOMANYQ, "encountered more Q than q"),
PARAM(W_PDF_TOOMANYq, "encountered more q than Q"),
PARAM(W_PDF_STACKGARBAGE, "garbage left on stack"),