Diagnostic codes

Broadside reads damaged files by repairing them and recording what it repaired, instead of throwing (strict mode throws instead). Each record is a Diagnostic with a severity, a message about that occurrence, and a code: a DiagnosticCode with a stable name, the area of the library that reports it, its default severity and the clause of the specification it is about. Match diagnostics on the code (diagnostic.Kind == FileStructureDiagnostics.StartxrefMissing, or diagnostic.Code == "StartxrefMissing"), never on the message, whose wording may change in any release.

DiagnosticCatalog.All lists every code at run time, and DiagnosticCatalog.TryGet finds one by name. DiagnosticCode.Description holds the text the tables below show.

Stability policy

From version 1.0, diagnostic codes follow these rules:

  • A code is never renamed or reused. Its name keeps meaning the same kind of deviation for as long as it exists, so code that matches on it keeps working.
  • New codes may appear in any minor release, when a new feature or a new repair needs one. Handle codes you do not know, for example by their severity.
  • A change to a code's default severity is a documented behavior change. It is listed in the release notes of the release that makes it, never made silently in a patch.
  • A code is removed only in a major release. Until then a code that is no longer reported stays in the catalog.
  • Descriptions and messages may be reworded in any release. They explain codes; they are not part of the contract.

Codes reported by third-party filters, font program parsers and security handlers are made with DiagnosticCode.Create, carry their owner's prefix (Contoso.LicenseExpired) and are outside this catalog and this policy. Broadside's own names never contain a dot, so the two never collide.

Every change to the catalog is visible in review: the tables below are generated from the catalog and the documentation build fails when they are stale, and a snapshot test in the test suite fails when a code is added, renamed, removed or re-rated until the change is accepted. Release notes link to this page.

The catalog

The catalog has 607 codes in 31 areas.

File structure

Codes of FileStructureDiagnostics, reported under DiagnosticArea.FileStructure.

Code Default severity Clause Meaning and typical repair
HeaderMissing Warning ISO 32000-2 §7.5.2 The file does not start with a %PDF- header. Offsets are counted from the first byte, and the version is taken from the catalog.
HeaderVersionInvalid Warning ISO 32000-2 §7.5.2 The header does not state a version of the form 1.n or 2.n. The version is taken from the catalog instead.
HeaderInvalid Warning ISO 32000-2 §7.5.2 The header line deviates from the required form, for example the version is not followed by an end-of-line marker. The version is read and the rest of the line is ignored.
HeaderBinaryCommentMissing Warning ISO 32000-2 §7.5.2 The file holds binary data but the header line is not followed by a comment line with at least four bytes of 128 or more. The file is read as is.
StartxrefMissing Warning ISO 32000-2 §7.5.5 The file has no startxref keyword. The cross-reference information is rebuilt by scanning the file.
StartxrefInvalid Warning ISO 32000-2 §7.5.5 The startxref keyword is missing a usable offset or the offset does not point at a cross-reference section. The nearest section is read, or the cross-reference information is rebuilt by scanning the file.
EndOfFileMarkerMissing Warning ISO 32000-2 §7.5.5 The startxref offset, or the trailer of an earlier revision, is not followed by the end-of-file marker. The revision is read up to that point.
EndOfFileMarkerNotLast Warning ISO 32000-2 §7.5.5 Data follows the last end-of-file marker, although the marker should be on the last line of the file. The trailing data is ignored.
TrailerIdMissing Warning ISO 32000-2 §7.5.5 The document is PDF 2.0, whose trailer shall have an ID entry, but the trailer has none. The document is read without file identifiers.
TrailerMissing Error ISO 32000-2 §7.5.5 A cross-reference section has no trailer keyword or dictionary, or the file has no trailer at all. The catalog is located by scanning the file when possible.
TrailerPrevInvalid Warning ISO 32000-2 §7.5.5 The trailer Prev entry is not a usable non-negative integer or its offset does not point at a cross-reference section. The nearest section is read instead, or older sections are not read.
RootMissing Warning ISO 32000-2 §7.5.5 The trailer has no Root entry that resolves to the catalog dictionary. The cross-reference information is rebuilt by scanning the file for a catalog.
RootNotIndirect Warning ISO 32000-2 §7.5.5 The trailer Root entry is a direct dictionary instead of an indirect reference. The dictionary is used as the catalog.
CatalogNotFound Error ISO 32000-2 §7.5 The cross-reference information cannot be read and scanning the file finds no catalog dictionary. The file cannot be read.
XrefSectionInvalid Error ISO 32000-2 §7.5.4 The data at a cross-reference offset is not a valid cross-reference table or stream, for example a bad subsection header or a non-stream object. The section cannot be read.
XrefEntryInvalid Error ISO 32000-2 §7.5.4 A cross-reference entry is not in the required form of offset, generation and in-use flag, or has an unknown type. The entry cannot be read as stated.
XrefEntryFormatInvalid Warning ISO 32000-2 §7.5.4 A cross-reference table entry is not exactly 20 bytes long. The section is read entry by entry rather than by fixed width.
XrefSubsectionNumberingInvalid Warning ISO 32000-2 §7.5.4 A cross-reference subsection starts at object 1 although its first entry is the head of the free list, which is object 0. The subsection is read as starting at 0.
XrefSubsectionHeaderInvalid Warning ISO 32000-2 §7.5.4 A subsection header is not a line of exactly two integers separated by one space. The header is read as tokens.
XrefEntryBeyondSize Warning ISO 32000-2 §7.5.5 The cross-reference table lists object numbers at or beyond the Size entry of the trailer. The extra entries are kept.
XrefCommentIgnored Warning ISO 32000-2 §7.5.4 A cross-reference table has a comment between its tokens, which the table syntax does not allow. The comment is skipped.
XrefLineMalformed Warning ISO 32000-2 §7.5.4 A line of the cross-reference table is neither a subsection header nor an entry. The line is skipped.
StartxrefLastDamaged Warning ISO 32000-2 §7.5.5 The last startxref is damaged: the one found is followed by the trailer of a newer revision. The cross-reference information is rebuilt by scanning the file.
XrefPrevLoop Error ISO 32000-2 §7.5.4 The Prev or XRefStm chain of cross-reference sections loops back to a section already read. The chain ends there.
XrefStreamTypeInvalid Warning ISO 32000-2 §7.5.8 The Type entry of a cross-reference stream is not XRef. The stream is read as a cross-reference stream anyway.
XrefStreamWidthsInvalid Error ISO 32000-2 §7.5.8 The W entry of a cross-reference stream is not an array of three direct integers with a positive sum. The section cannot be read.
XrefStreamIndexInvalid Warning ISO 32000-2 §7.5.8 The Index entry of a cross-reference stream is not an array of pairs of direct non-negative integers. The default range from 0 to Size is used.
XrefStreamSizeInvalid Warning ISO 32000-2 §7.5.8 The Size entry of a cross-reference stream is not a direct non-negative integer, or entries lie at or beyond it. The entries are read as far as the data goes and kept.
CrossReferenceEntryLimitExceeded Error ISO 32000-2 §7.5.8 The cross-reference data describes more objects than the file has bytes. The entries beyond the limit are not read.
XrefStreamDataTruncated Warning ISO 32000-2 §7.5.8 The data of a cross-reference stream ends before the last entry described by its Index and W entries. The missing entries are absent.
TrailerXRefStmInvalid Error ISO 32000-2 §7.5.8 The trailer XRefStm entry is not a usable offset or does not point at a cross-reference stream. The nearest stream is read when one is found, otherwise the stream is not read.
ObjectStreamInvalid Error ISO 32000-2 §7.5.7 An object stream is missing, is not a stream, or has invalid N or First entries. The objects it should hold are read as null.
ObjectStreamTypeInvalid Warning ISO 32000-2 §7.5.7 The Type entry of an object stream is not ObjStm. The stream is read as an object stream anyway.
ObjectStreamHeaderInvalid Warning ISO 32000-2 §7.5.7 The header of an object stream has the wrong number of pairs, an invalid pair, or offsets that do not increase. The pairs present are used and objects that cannot be located are not read.
ObjectStreamIndexMismatch Warning ISO 32000-2 §7.5.7 The cross-reference entry gives an index in the object stream that does not match the object's actual position. The object is read from the actual position.
ObjectStreamMemberMissing Error ISO 32000-2 §7.5.7 The cross-reference entry places an object in an object stream that does not hold it. The object is read as null.
ObjectStreamMemberInvalid Warning ISO 32000-2 §7.5.7 A stream object is stored inside an object stream, which is not allowed. The stream is read anyway.
ObjectStreamNested Error ISO 32000-2 §7.5.7 The object stream holding an object is itself listed as stored in an object stream, which a stream cannot be. The object is read as null.
ObjectStreamCycle Error ISO 32000-2 §7.5.7 Decoding an object stream requires an object that the same object stream holds. The object is read as null.
TrailerEntryFromOlderRevision Warning ISO 32000-2 §7.5.6 The newest trailer lacks an entry that every update trailer should repeat. The entry of an older revision trailer is used.
LinearizationDictionaryInvalid Warning ISO 32000-2 Annex F The linearization parameter dictionary lacks a required entry or has an entry of the wrong type. The file is read as not linearized.
LinearizationHintsInvalid Warning ISO 32000-2 Annex F The linearization hint tables are malformed or do not locate the pages they describe. The hints are ignored and the pages are read from the page tree.
LinearizationDropped Information ISO 32000-2 Annex F An incremental update leaves a linearized file unlinearized, because the length recorded in the linearization dictionary no longer matches the file. This records that the file is no longer linearized.
XrefEntryOffsetInvalid Warning ISO 32000-2 §7.3.10 A cross-reference entry offset does not point at the object header. The object is read from where its header is found, or as null when none exists.
MissingEndobj Warning ISO 32000-2 §7.3.10 An object is not followed by the endobj keyword. The object ends at that point.
ReferenceChainTooDeep Error ISO 32000-2 §7.3.10 Loading an object needs more nested object loads than the allowed depth. The object is read as null.
ObjectReferenceCycle Error ISO 32000-2 §7.5.4 Loading an object requires the object itself, for example a stream Length that refers back to it. The object is read as null where it is needed.

Object syntax

Codes of ObjectSyntaxDiagnostics, reported under DiagnosticArea.ObjectSyntax.

Code Default severity Clause Meaning and typical repair
UnexpectedEndOfInput Warning ISO 32000-2 §7.2, §7.3 The input ends where an object was expected. The missing object is read as null or omitted.
UnexpectedToken Warning ISO 32000-2 §7.2, §7.3 A token that cannot start an object appears where an object is expected. The token is skipped.
TrailingContent Warning ISO 32000-2 §7.2, §7.3 Extra content follows an object where the input should end. The trailing content is ignored.
NumberMalformed Warning ISO 32000-2 §7.2, §7.3 A number is not made of digits with an optional sign and at most one period. The number is read as far as it is valid.
NumberOutOfRange Warning ISO 32000-2 §7.2, §7.3 A number is too large to represent. It is clamped to the largest finite value.
ReferenceInvalid Warning ISO 32000-2 §7.2, §7.3 An indirect reference has a non-positive object number or a generation number outside 0 to 65535. The reference is read as null.
StringUnterminated Warning ISO 32000-2 §7.2, §7.3 A literal string has no closing parenthesis. The string runs to the end of the input.
HexStringUnterminated Warning ISO 32000-2 §7.2, §7.3 A hexadecimal string has no closing angle bracket. The string runs to the end of the input.
HexStringInvalidDigit Warning ISO 32000-2 §7.2, §7.3 A hexadecimal string contains a byte that is neither a hexadecimal digit nor white-space. The byte is ignored.
NameInvalidEscape Warning ISO 32000-2 §7.2, §7.3 A number sign in a name is not followed by two hexadecimal digits. It is read as a literal number sign.
NameContainsNull Warning ISO 32000-2 §7.2, §7.3 A name contains the byte 0, which is not allowed. The byte is dropped.
ArrayUnterminated Warning ISO 32000-2 §7.2, §7.3 An array has no closing bracket. The array ends at the end of the input or at the next keyword.
DictionaryUnterminated Warning ISO 32000-2 §7.2, §7.3 A dictionary has no closing angle brackets. The dictionary ends at that point.
DictionaryKeyNotName Warning ISO 32000-2 §7.2, §7.3 A dictionary key is not a name. The offending object is skipped.
DictionaryValueMissing Warning ISO 32000-2 §7.2, §7.3 The last dictionary key has no value. The key is dropped.
DictionaryDuplicateKey Warning ISO 32000-2 §7.2, §7.3 A dictionary has two entries with the same key. The last entry is kept.
NestingTooDeep Warning ISO 32000-2 §7.2, §7.3 Arrays and dictionaries nest deeper than the allowed depth. The inner container is read as null.
StreamKeywordEndOfLine Warning ISO 32000-2 §7.2, §7.3 The stream keyword is not followed by CRLF or LF as required. The data is read from the position after the keyword.
StreamLengthInvalid Warning ISO 32000-2 §7.2, §7.3 The stream Length entry is missing or does not match the data. The data is taken to run up to the endstream keyword.
EndstreamMissing Warning ISO 32000-2 §7.2, §7.3 A stream has no endstream keyword. The stream data is read as far as it can be determined.

Security

Codes of SecurityDiagnostics, reported under DiagnosticArea.Security.

Code Default severity Clause Meaning and typical repair
UnencryptedWrapperInvalid Warning ISO 32000-2 §7.6.7 An unencrypted wrapper document deviates from the required wrapper structure. The embedded payload is read anyway.
EncryptedPayloadFilterUnknown Information ISO 32000-2 §7.6.7 The encrypted payload of a wrapper needs a cryptographic filter that no available security handler provides. The wrapper is read, and the payload opens only if its own encryption dictionary names a handler that is available.
EncryptedPayloadNotEncrypted Warning ISO 32000-2 §7.6.7 The payload of an unencrypted wrapper is not an encrypted PDF file as the wrapper structure requires. The payload is embedded anyway.
EncryptDictionaryInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The trailer Encrypt entry or the encryption dictionary is malformed, for example it is not a dictionary or lacks a Filter entry. The document is read as not encrypted, or the file structure is rebuilt.
EncryptionIdMissing Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The trailer of an encrypted document has no ID array of two strings. An empty identifier is used.
EncryptionVersionInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The encryption version entry V is not a usable published value. It is read as the closest supported algorithm or by its key length.
EncryptionRevisionInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The standard security handler uses a revision that should not appear in a conforming file, such as the deprecated revision 5. It is read as that revision.
EncryptionKeyLengthInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The key length of the encryption dictionary or a crypt filter is missing, out of range, or inconsistent with the key. A usable length is derived, for example by reading the value as a byte count or using 128 bits.
EncryptionEntryLengthInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 An encryption dictionary entry has a different length than required. Only the required number of leading bytes is read, and a short entry is used as it is.
EncryptionPermissionsMismatch Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The encrypted Perms entry does not decrypt to a valid permissions block or disagrees with the P entry or EncryptMetadata. The value from Perms is used when it is valid, otherwise the P entry is used.
EncryptionExtensionMissing Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The document uses an ISO technical specification encryption level but the catalog Extensions dictionary does not declare that extension level. The document is read anyway.
OwnerPasswordKeyVariant Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The owner password entry was computed with a known variant of the key algorithm that does not rehash the whole digest. The owner password is accepted.
CryptFilterMissing Error ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 An encryption dictionary entry names a crypt filter that the CF dictionary does not define. The data using that filter is left as it is.
CryptFilterMethodInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 A crypt filter uses a method that does not fit, such as None or AES with a mismatched key size or version. The data is left as it is, or the method is read as the likely intended one.
EncryptedDataInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 Encrypted data is malformed and cannot be decrypted as expected, for example it has an invalid length or padding. The problem is recorded and the affected data is read as far as possible.
EncryptedDataAuthenticationFailed Error ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The AES-GCM authentication tag of encrypted data does not match, so the data was changed or damaged after encryption. The data decrypts to nothing.
MetadataNotEncrypted Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The metadata stream is plaintext XMP although EncryptMetadata is true. The stream is read as it is.
IntegrityCodeMissing Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The permissions require a PDF MAC integrity token but the trailer has no AuthCode dictionary. Integrity cannot be confirmed.
IntegrityCodeInvalid Error ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The PDF MAC integrity token is malformed or structurally invalid. The integrity check fails.
IntegrityCodeMismatch Error ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The PDF MAC integrity token does not match the computed value, so the document was changed or damaged. The integrity check fails.
IntegrityCodeIncomplete Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The PDF MAC token is valid but its byte range does not reach the end of the file. The data after the range is not protected, as after an update or tampering.
IntegrityCodeNotVerified Information ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The PDF MAC integrity token cannot be checked, for example because the document opened without the user password or the token uses an unsupported location or algorithm. The integrity of the document is not verified.
PublicKeyRecipientInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 An entry of the Recipients array is not a string, is not a CMS enveloped-data object, or has trailing bytes. The entry or the extra bytes are ignored.
PublicKeyEnvelopeInvalid Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 The enveloped data of a recipient does not hold the required seed and permissions bytes. The streams that use it stay encrypted.
CryptFilterNotAuthorized Information ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 Data is encrypted with a crypt filter that the supplied credentials do not unlock, for example no certificate names a recipient. The data stays encrypted.
EncryptionDeprecated Warning ISO 32000-2 §7.6; ISO/TS 32003; ISO/TS 32004 A saved file is encrypted with an algorithm that is deprecated in PDF 2.0, such as RC4, which offers little protection. AES-256 is the PDF 2.0 algorithm.

Document

Codes of DocumentDiagnostics, reported under DiagnosticArea.Document.

Code Default severity Clause Meaning and typical repair
CatalogEntryInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 A catalog entry has the wrong type or an invalid value, such as a malformed language string or a relative base URI. The entry is ignored.
PageLayoutInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 The catalog PageLayout entry is not a recognized value. The default single page layout is used.
PageModeInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 The catalog PageMode entry is not a recognized value. The default of no panel is used.
ViewerPreferencesInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 The catalog ViewerPreferences entry is not a dictionary. The entry is ignored.
ViewerPreferenceInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 An entry of the viewer preferences dictionary has the wrong type or an unrecognized value. The entry is ignored and its default applies.
ExtensionsInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 The catalog Extensions entry is not a dictionary. The entry is ignored.
ExtensionsNotDirect Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 The extensions dictionary or a developer extensions dictionary is an indirect object, although it shall be direct. It is read through its reference.
DeveloperExtensionInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 A developer extension is not a dictionary or an array of dictionaries with a BaseVersion name and an ExtensionLevel integer. The extension is not recorded as declared.
DeveloperExtensionBaseVersionLater Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 A developer extension declares a base version later than the document version. Saving raises the document version.
RequirementInvalid Warning ISO 32000-2 §7.7.2 Table 29, §7.12, §12.2, §12.11 A catalog requirements entry is malformed. The invalid requirement is ignored.
OutputIntentInvalid Warning ISO 32000-2 §14.11.5 An output intent has an invalid entry, such as a subtype that is not a name or a malformed text value. The entry is ignored.
PageLabelsMissingZeroKey Warning ISO 32000-2 §12.4.2 The page labels number tree has no range for page index 0. Pages before the first range are numbered in decimal from 1.
PageLabelInvalid Warning ISO 32000-2 §12.4.2 A page label dictionary or number tree entry is invalid, such as a wrong Type, a negative key or a value that is not a dictionary. The entry is ignored.
PageLabelStyleInvalid Warning ISO 32000-2 §12.4.2 A page label numbering style is not one of the defined values. The range is numbered in decimal.
PageLabelStartInvalid Warning ISO 32000-2 §12.4.2 A page label start value is not an integer of 1 or more. An integral real is used as that integer, otherwise the range starts at 1.
PageLabelPrefixInvalid Warning ISO 32000-2 §12.4.2 A page label prefix is not a text string or contains a null character. The prefix is ignored or cut at the null character.
PageLabelTooLong Warning ISO 32000-2 §12.4.2 A page number is too large to write in letters or roman numerals. It is written in decimal.
InfoDictionaryInvalid Warning ISO 32000-2 §7.9.4, §14.3, §14.4 The trailer Info entry does not refer to a document information dictionary. The entry is ignored.
InfoValueNotTextString Warning ISO 32000-2 §7.9.4, §14.3, §14.4 A document information entry is not a text string. The entry is read as text when possible or ignored.
InfoTrappedInvalid Warning ISO 32000-2 §7.9.4, §14.3, §14.4 The Info dictionary Trapped entry is not True, False or Unknown, or is not a name. A boolean or string is read as the name it spells, otherwise the value is read as Unknown.
DateInvalid Warning ISO 32000-2 §7.9.4, §14.3, §14.4 A date entry does not follow the PDF date format. The date is read with the deviating fields repaired.
DateUnreadable Warning ISO 32000-2 §7.9.4, §14.3, §14.4 A date entry cannot be read as a date. The original text is kept where possible and the date is unknown.
MetadataStreamInvalid Warning ISO 32000-2 §7.9.4, §14.3, §14.4 A Metadata entry is not a metadata stream, or the stream lacks the required Type or Subtype. A non-stream is ignored, and a stream with wrong entries is read as XMP anyway.
MetadataStreamTypeInvalid Warning ISO 32000-2 §7.9.4, §14.3, §14.4 A metadata stream does not have Type Metadata and Subtype XML. The stream is read as XMP anyway.
XmpMalformed Error ISO 32000-2 §7.9.4, §14.3, §14.4 The XMP packet is not usable, for example it has no XML markup, no rdf:RDF element, or contains a document type declaration. The packet is ignored.
XmpDtdProhibited Error ISO 32000-2 §7.9.4, §14.3, §14.4 The XMP packet contains a document type declaration, which is not read because it could expand entities or fetch files. The packet is ignored.
XmpLeadingJunk Warning ISO 32000-2 §7.9.4, §14.3, §14.4 The XMP packet has bytes other than white-space before its first markup. The bytes are skipped.
XmpPropertyDuplicate Warning ISO 32000-2 §7.9.4, §14.3, §14.4 An XMP property is given more than once. The first value is used.
FileIdentifierInvalid Warning ISO 32000-2 §7.9.4, §14.3, §14.4 The trailer ID entry is not an array of two byte strings, or an identifier is shorter than 16 bytes. An invalid entry is ignored and short identifiers are used as they are.
CatalogTypeInvalid Warning ISO 32000-2 §7.7.2 The catalog dictionary Type entry is missing or is not Catalog. The dictionary is used as the catalog anyway.
CatalogVersionNotName Warning ISO 32000-2 §7.7.2 The catalog Version entry is a number instead of a name. It is read as that version.
CatalogVersionInvalid Warning ISO 32000-2 §7.7.2 The catalog Version entry is not a version name. The entry is ignored.
PagesMissing Error ISO 32000-2 §7.7.2 The catalog has no usable Pages entry or the page tree holds no page objects. The file is searched for pages, and if none are found the document has no pages.

Page

Codes of PageDiagnostics, reported under DiagnosticArea.Page.

Code Default severity Clause Meaning and typical repair
PageTreeNodeTypeInvalid Warning ISO 32000-2 §7.7.3 A page tree node has a Type other than Pages but has a Kids array, so it is read as an intermediate node of the tree.
PageTreeKidsInvalid Error ISO 32000-2 §7.7.3 A page tree node has no Kids array or its Kids entry is not an array, so the node contributes no pages.
PageTreeKidInvalid Error ISO 32000-2 §7.7.3 An entry in a Kids array does not resolve to a page tree node or a page object, so the entry is skipped.
PageTreeKidNotIndirect Warning ISO 32000-2 §7.7.3 An entry in a Kids array is a direct dictionary instead of an indirect reference; it is accepted and used as is.
PageTreeCycle Error ISO 32000-2 §7.7.3 A page tree node or page is reachable more than once from the page tree, forming a repeat or loop; the repeated occurrence is skipped.
PageTreeTooDeep Error ISO 32000-2 §7.7.3 The page tree nests deeper than the supported maximum depth; nodes below that depth are skipped.
PageTreeParentMismatch Warning ISO 32000-2 §7.7.3 A Parent entry in the page tree does not point to the node that lists the page or node in its Kids; inheritance follows the actual tree structure.
PageTreeCountMismatch Warning ISO 32000-2 §7.7.3 The Count of the page tree root differs from the number of pages found by walking the tree; the walked page count is used.
PageMediaBoxMissing Error ISO 32000-2 §7.7.3.3, §7.9.5 A page has no MediaBox on itself or on any ancestor node; the US Letter size of 612 by 792 points is used instead.
PageBoxInvalid Warning ISO 32000-2 §7.7.3.3, §7.9.5 A page boundary box such as CropBox, BleedBox, TrimBox or ArtBox is not a rectangle of four numbers; a fallback box is used instead.
PageRotateInvalid Warning ISO 32000-2 §7.7.3.3, §7.9.5 A page Rotate value is not an integer multiple of 90; a real number holding a multiple of 90 is accepted as an integer, and any other value is read as 0.
PageResourcesMissing Warning ISO 32000-2 §7.7.3.3, §7.9.5 A page has no Resources dictionary on itself or on any ancestor node; the page is read as having no resources.
PageResourcesInvalid Error ISO 32000-2 §7.7.3.3, §7.9.5 A page Resources entry is not a dictionary; the page is read as having no resources.
PageUserUnitInvalid Warning ISO 32000-2 §7.7.3.3, §7.9.5 A page UserUnit entry is not a positive number; the default user unit of 1.0 is used.

Saving

Codes of SavingDiagnostics, reported under DiagnosticArea.Saving.

Code Default severity Clause Meaning and typical repair
VersionRaised Warning ISO 32000-2 §7.5.2, §7.7.2 Table 29 The save needs features that belong to a later PDF version than the document declares. Broadside raises the saved version, or in strict mode writes nothing.
ObjectNumberOutOfRange Warning ISO 32000-2 §7.5.4, §7.5.6, Annex C Table C.1 The file holds, or the save would produce, an object number above the limit allowed for cross-reference data. New objects use free lower numbers, a full save renumbers, and an incremental update that cannot renumber writes nothing.
PdfANonConformant Warning ISO 19005 (PDF/A); veraPDF validation profiles The file cannot conform to the requested PDF/A level because a validation rule is violated. The violation is reported and the save continues.
PdfANotIdentified Information ISO 19005 (PDF/A); veraPDF validation profiles The file is saved without PDF/A identification or output intent because it cannot conform to the requested level. This records that no PDF/A claim is made.
PdfAConverted Information ISO 19005 (PDF/A); veraPDF validation profiles The document was converted toward the requested PDF/A level. This records the changes the conversion made.
PdfANotConverted Information ISO 19005 (PDF/A); veraPDF validation profiles The conversion toward the requested PDF/A level left problems it could not fix. This records what remains non-conforming.
PdfUANonConformant Warning ISO 14289-1 (PDF/UA-1); veraPDF validation profiles The file cannot conform to the requested PDF/UA level because a validation rule is violated. The violation is reported and the save continues.
PdfUANotIdentified Information ISO 14289-1 (PDF/UA-1); veraPDF validation profiles The file is saved without PDF/UA identification because it cannot conform to the requested level. This records that no PDF/UA claim is made.
WellTaggedNonConformant Warning Well-Tagged PDF 1.0; veraPDF validation profiles The file cannot conform to the requested Well-Tagged PDF level because a validation rule is violated. The violation is reported and the save continues.
WellTaggedNotDeclared Information Well-Tagged PDF 1.0; veraPDF validation profiles The file is saved without the Well-Tagged PDF declaration because it cannot conform to the requested level. This records that no Well-Tagged claim is made.
ConformanceOverridden Information ISO 19005 (PDF/A); ISO 14289 (PDF/UA) The PDF/A or PDF/UA conformance options given for a save differ from the document default save options, and the save options take precedence. This records the override.

Codes of NavigationDiagnostics, reported under DiagnosticArea.Navigation.

Code Default severity Clause Meaning and typical repair
NameDictionaryInvalid Warning ISO 32000-2 §7.7.4 The catalog Names entry is not a dictionary; the document is read as having no name dictionary.
NameTreeNodeInvalid Warning ISO 32000-2 §7.9.6 Table 36 A name tree node is not a dictionary or has no usable Kids or Names entry; the node is skipped.
NameTreeLimitsInvalid Warning ISO 32000-2 §7.9.6 Table 36 A name tree node has a Limits entry that is missing or does not match its keys; the node contents are used regardless.
NameTreeKeysUnsorted Warning ISO 32000-2 §7.9.6 Table 36 The keys in a name tree are not in lexical order; the entries are still read and looked up.
NameTreeDuplicateKey Warning ISO 32000-2 §7.9.6 Table 36 A name tree holds the same key more than once; the first entry found is used.
NameTreeKeyInvalid Warning ISO 32000-2 §7.9.6 Table 36 A name tree key is not a string or its value is missing; the pair is skipped.
NameTreeCycle Error ISO 32000-2 §7.9.6 Table 36 A name tree node is reachable from itself through Kids; the repeated node is skipped.
NameTreeTooDeep Error ISO 32000-2 §7.9.6 Table 36 A name tree nests deeper than the supported maximum depth; the deeper nodes are skipped.
NumberTreeNodeInvalid Warning ISO 32000-2 §7.9.7 Table 37 A number tree node is not a dictionary or has no usable Kids or Nums entry; the node is skipped.
NumberTreeLimitsInvalid Warning ISO 32000-2 §7.9.7 Table 37 A number tree node has a Limits entry that is missing or does not match its keys; the node contents are used regardless.
NumberTreeKeysUnsorted Warning ISO 32000-2 §7.9.7 Table 37 The keys in a number tree are not in ascending order; the entries are still read and looked up.
NumberTreeDuplicateKey Warning ISO 32000-2 §7.9.7 Table 37 A number tree holds the same key more than once; the first entry found is used.
NumberTreeKeyInvalid Warning ISO 32000-2 §7.9.7 Table 37 A number tree key is not an integer or its value is missing; the pair is skipped.
NumberTreeCycle Error ISO 32000-2 §7.9.7 Table 37 A number tree node is reachable from itself through Kids; the repeated node is skipped.
NumberTreeTooDeep Error ISO 32000-2 §7.9.7 Table 37 A number tree nests deeper than the supported maximum depth; the deeper nodes are skipped.
DestinationInvalid Warning ISO 32000-2 §12.3.2 A destination is not a valid array, name or string, or a destination entry has the wrong form; it is ignored or read as the form it most resembles, and shows no page.
DestinationPageNotFound Warning ISO 32000-2 §12.3.2 An explicit destination refers to a page that cannot be found in the document; the destination shows no page.
NamedDestinationNotFound Warning ISO 32000-2 §12.3.2 A reference uses a named destination that the document does not define; the reference shows no page.
DestinationPageRemoved Warning ISO 32000-2 §12.3.2 A destination in an outline item, link or named destination shows a page that was removed from the document; it is saved showing no page.
OutlineInvalid Warning ISO 32000-2 §12.3.3 The catalog Outlines entry is not a dictionary; the document is read as having no outline.
OutlineItemInvalid Warning ISO 32000-2 §12.3.3 An outline item is not a dictionary, has no Title text string, or has a malformed color or flags entry; the item level ends or defaults are used.
OutlineCycle Error ISO 32000-2 §12.3.3 An outline item is reached a second time through Next or First; reading of that level stops there.
OutlineTooDeep Error ISO 32000-2 §12.3.3 The outline nests deeper than the supported maximum depth; the deeper items are skipped.
OutlineLinkInconsistent Warning ISO 32000-2 §12.3.3 The Last, Parent or Prev link of an outline item does not agree with the First and Next chain; the First and Next chain is used.
OutlineCountInvalid Warning ISO 32000-2 §12.3.3 An outline or outline item Count is negative, not an integer or missing where children exist; the item is read as closed.
OutlineDestAndAction Warning ISO 32000-2 §12.3.3 An outline item has both a Dest and an A entry; both are read and the action is the one performed.

Optional content

Codes of OptionalContentDiagnostics, reported under DiagnosticArea.OptionalContent.

Code Default severity Clause Meaning and typical repair
OptionalContentConfigMissing Warning ISO 32000-2 §8.11 The optional content properties have no default configuration D; an empty configuration is used, which leaves every group on.
OptionalContentGroupsMissing Warning ISO 32000-2 §8.11 The optional content properties have no OCGs array; no group is treated as optional content and all content is visible.
OptionalContentGroupNotListed Warning ISO 32000-2 §8.11 An optional content group, or a reference to one, is not listed in the OCGs array or is not a group at all; it is not treated as optional content and is ignored or shown.
OptionalContentGroupInvalid Warning ISO 32000-2 §8.11 An OCGs entry is not a valid optional content group dictionary, or a group has a missing or wrong Type or malformed entries; the entry is ignored or read leniently.
OptionalContentBaseStateInvalid Warning ISO 32000-2 §8.11 The default configuration has a BaseState that is not one of the permitted values; Broadside falls back to a permitted state.
OptionalContentIntentInvalid Warning ISO 32000-2 §8.11 The default configuration or a group has an Intent that is not valid for its use; the written intent is honored or a default is used.
OptionalContentGroupOnAndOff Warning ISO 32000-2 §8.11 A group is listed in both the ON and the OFF array of a configuration; the OFF entry is applied last, so the group is off.
VisibilityExpressionInvalid Warning ISO 32000-2 §8.11 An optional content visibility expression is malformed; the invalid part is ignored when visibility is evaluated.
VisibilityPolicyInvalid Warning ISO 32000-2 §8.11 A membership dictionary has a visibility policy that is not AllOn, AnyOn, AnyOff or AllOff; AnyOn is used.
OptionalContentInlineProperties Warning ISO 32000-2 §8.11 An OC marked-content section carries an inline property list instead of a named resource; the property list is honored.

File specification

Codes of FileSpecificationDiagnostics, reported under DiagnosticArea.FileSpecification.

Code Default severity Clause Meaning and typical repair
FileSpecificationInvalid Warning ISO 32000-2 §7.11, §12.3.5, §14.13 An entry in the embedded files name tree is not a valid file specification; the entry is skipped.
EmbeddedFileMissing Warning ISO 32000-2 §7.11, §12.3.5, §14.13 A file specification EF entry holds no embedded file stream; the file is treated as not embedded.
EmbeddedFileSubtypeMissing Warning ISO 32000-2 §7.11, §12.3.5, §14.13 An embedded file used as an associated file has no Subtype giving its MIME type; application/octet-stream is assumed.
EmbeddedFileParamsInvalid Warning ISO 32000-2 §7.11, §12.3.5, §14.13 The Params dictionary of an embedded file is malformed or lacks an entry required for an associated file, such as ModDate; the data is read as far as it is valid.
RelatedFilesInvalid Warning ISO 32000-2 §7.11, §12.3.5, §14.13 The RF related files array is not made of pairs of a name string and an embedded file stream; malformed pairs are skipped.
AssociatedFilesInvalid Warning ISO 32000-2 §7.11, §12.3.5, §14.13 An AF associated files entry or a file specification in it is malformed, for example it lacks an AFRelationship; invalid items are skipped or Unspecified is used.
CollectionInvalid Warning ISO 32000-2 §7.11, §12.3.5, §14.13 A portable collection dictionary or one of its fields is malformed, for example a navigator view without a Navigator; a default such as the details view is used.
CollectionFolderCycle Warning ISO 32000-2 §7.11, §12.3.5, §14.13 A collection folder Child or Next link leads back to a folder already reached; the link is ignored.
CollectionFolderIdDuplicate Warning ISO 32000-2 §7.11, §12.3.5, §14.13 Two collection folders share the same ID; the first folder found keeps the ID.
CollectionFolderInvalid Warning ISO 32000-2 §7.11, §12.3.5, §14.13 A collection folder dictionary is malformed or has an invalid entry; the folder is read as far as it is valid.

Filter

Codes of FilterDiagnostics, reported under DiagnosticArea.Filter.

Code Default severity Clause Meaning and typical repair
FilterInvalid Error ISO 32000-2 §7.3.8.2 Table 5, §7.4 The Filter entry is not a name or an array of names, or an array element is not a name. The stream is left encoded or the filter chain stops at the bad element.
FilterUnsupported Error ISO 32000-2 §7.3.8.2 Table 5, §7.4 The stream names a filter that Broadside does not support. The stream is left encoded from that filter onward.
FilterCodecNotRegistered Information ISO 32000-2 §7.4.1 Table 6, §7.4.6-§7.4.9 The stream uses an image codec that is not registered in the engine options. The stream is left encoded from that filter onward.
FilterAbbreviationNotAllowed Warning ISO 32000-2 §7.3.8.2 Table 5, §7.4 A filter name uses an inline-image abbreviation outside an inline image. The abbreviation is read as the full filter name.
FilterDataInvalid Warning ISO 32000-2 §7.3.8.2 Table 5, §7.4 Encoded stream data is damaged, such as a missing zlib header or corrupt deflate or ASCII85 data. The bytes decoded before the error are kept, or the data is read as raw deflate.
FilterDataTruncated Warning ISO 32000-2 §7.3.8.2 Table 5, §7.4 Encoded stream data ends early, before its end-of-data marker, final block or complete run. The bytes decoded so far are kept.
FilterFailed Error ISO 32000-2 §7.3.8.2 Table 5, §7.4 A filter threw an error while decoding, or an image decoded to a different size than its header promised. The bytes decoded before the failure are kept, or the image is not decoded.
DecodeParmsInvalid Warning ISO 32000-2 §7.3.8.2 Table 5, §7.4 The DecodeParms entry has the wrong type or the wrong number of entries for the Filter entry. Invalid parameters are ignored, missing entries take defaults, or the first array element is used.
PredictorInvalid Warning ISO 32000-2 §7.3.8.2 Table 5, §7.4 A predictor parameter or predicted data is invalid, such as an unknown Predictor value, oversized rows, too little data or an unknown PNG row tag. The data is passed through or read unpredicted.
CryptFilterNotFirst Warning ISO 32000-2 §7.3.8.2 Table 5, §7.4 A Crypt filter appears in the Filter array somewhere other than first. The filter is applied where it is.
CryptFilterUnsupported Error ISO 32000-2 §7.3.8.2 Table 5, §7.4 The stream names a crypt filter that the document's security handler does not know. The stream is left encrypted.
StreamExternalFileUnsupported Information ISO 32000-2 §7.3.8.2 Table 5, §7.4 The stream's data is held in an external file, which Broadside does not read. The bytes in the stream itself are decoded instead.
StreamDecodedLengthExceeded Error ISO 32000-2 §7.3.8.2 Table 5, §7.4 A stream decodes to more bytes than the configured decoded-length limit. The output is truncated at the limit.
StreamDecodingTooDeep Error ISO 32000-2 §7.3.8.2 Table 5, §7.4 Decoding a stream requires more nested stream decodes than the depth limit allows. The stream decodes to nothing.

Dct

Codes of DctDiagnostics, reported under DiagnosticArea.Dct.

Code Default severity Clause Meaning and typical repair
DctLeadingJunk Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data has bytes before the start-of-image marker. Those bytes are skipped.
DctExtraneousData Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data has bytes between marker segments that belong to no segment. The extra bytes are skipped.
DctSegmentInvalid Warning ISO 32000-2 §7.4.8; ITU-T T.81 A DCT marker segment is malformed, with a length below 2, a too-short restart interval or an odd-length conditioning segment, or a baseline frame declares 12-bit samples. The segment is skipped or read leniently.
DctFrameInvalid Error ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data has no start-of-image marker or no usable frame header, has a scan before its frame header, or has a truncated frame header. The image is not decoded.
DctFrameRepeated Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data has a second frame header. Only the first frame is decoded and the later header is ignored.
DctProcessUnsupported Error ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data uses the lossless or hierarchical JPEG process, which PDF does not use. The image is not decoded.
DctTableMissing Warning ISO 32000-2 §7.4.8; ITU-T T.81 A DCT scan or component refers to a Huffman or quantization table that was never defined. A missing Huffman table is replaced by the standard typical table; a missing quantization table leaves the image undecoded.
DctTableInvalid Warning ISO 32000-2 §7.4.8; ITU-T T.81 A DCT table is malformed or unusual, such as a truncated Huffman table, an invalid quantization or arithmetic conditioning table, or a 16-bit quantization table in an 8-bit frame. Invalid tables are ignored and 16-bit values are used.
DctScanInvalid Warning ISO 32000-2 §7.4.8; ITU-T T.81 A DCT scan header is invalid, names a missing component or table, or has bad progressive or sequential parameters. The scan is skipped or its bad parameters are ignored.
DctDataInvalid Warning ISO 32000-2 §7.4.8; ITU-T T.81 The entropy-coded data of a DCT scan is damaged. The decoder reports the problem and continues with the data it can decode.
DctRestartInvalid Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data has a restart marker that is not the expected one. The decoder resynchronizes at the marker.
DctTruncated Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data ends early, before the first scan or inside a marker segment. The decoder keeps what it decoded, or the image is not decoded if no scan was reached.
DctEndMissing Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data ends without the end-of-image marker. The data is decoded as far as it goes.
DctComponentCountInvalid Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data has two components, which PDF does not allow. The components are decoded without a color transform.
DctLinesFromDnl Warning ISO 32000-2 §7.4.8; ITU-T T.81 The DCT frame declares zero lines. The height comes from the DNL segment when present, otherwise from the image dictionary Height.
DctPrecisionReduced Information ISO 32000-2 §7.4.8; ITU-T T.81 The DCT data has 12-bit samples. They are delivered reduced to 8 bits, as the image rules require.
DctAdobeTransformInvalid Warning ISO 32000-2 §7.4.8; ITU-T T.81 The Adobe APP14 transform code does not fit the number of components. A transform appropriate for the component count is assumed.
DctColorTransformInferred Information ISO 32000-2 §7.4.8; ITU-T T.81 Three DCT components are identified as R, G, B and no APP14 segment or ColorTransform parameter says otherwise. The components are read as RGB instead of applying the default color transform.

Ccitt

Codes of CcittDiagnostics, reported under DiagnosticArea.Ccitt.

Code Default severity Clause Meaning and typical repair
CcittMissingEol Warning ISO 32000-2 §7.4.6; ITU-T T.4, T.6 CCITTFaxDecode is set to expect end-of-line codes but the lines have none. The lines are decoded without them.
CcittRunTooLong Warning ISO 32000-2 §7.4.6; ITU-T T.4, T.6 A CCITTFaxDecode run extends past the last column. The run is cut at the column limit.
CcittDamagedRowReplaced Warning ISO 32000-2 §7.4.6; ITU-T T.4, T.6 CCITTFaxDecode data has damaged rows within the allowed DamagedRowsBeforeError count. Each damaged row is replaced by the previous row or a white row.
CcittDataInvalid Error ISO 32000-2 §7.4.6; ITU-T T.4, T.6 CCITTFaxDecode data has an invalid code. The row is kept as far as it decodes and filled with white, and decoding resumes at the next EOL or stops if there is none.
CcittWidthMismatch Warning ISO 32000-2 §7.4.6; ITU-T T.4, T.6 The image width differs from the CCITTFaxDecode Columns value. Rows are decoded at Columns and then padded or cropped to the image width.

Jbig2

Codes of Jbig2Diagnostics, reported under DiagnosticArea.Jbig2.

Code Default severity Clause Meaning and typical repair
Jbig2FileHeaderPresent Warning ISO 32000-2 §7.4.7; ITU-T T.88 The JBIG2 stream starts with a standalone JBIG2 file header, which PDF does not allow. The header is skipped and the segments are decoded.
Jbig2EndOfPagePresent Warning ISO 32000-2 §7.4.7; ITU-T T.88 The JBIG2 stream holds an end-of-page or similar segment that PDF does not allow. Decoding of the page stops there.
Jbig2PageNumberNotOne Warning ISO 32000-2 §7.4.7; ITU-T T.88 JBIG2 segments belong to a page other than page 1, or to more than one page. One page is decoded and segments of other pages are ignored.
Jbig2PageInformationMissing Warning ISO 32000-2 §7.4.7; ITU-T T.88 The JBIG2 page has no page information segment before its regions. The page starts white and regions use their own combination operators.
Jbig2PageSizeMismatch Warning ISO 32000-2 §7.4.7; ITU-T T.88 The JBIG2 page size differs from the image dimensions. The image size is used and regions are clipped to it.
Jbig2SegmentHeaderInvalid Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 segment header is invalid, such as a disallowed referred-to segment count or an unknown data length on a segment type that does not allow it. That segment and the rest of the stream are ignored.
Jbig2SegmentTruncated Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 segment or segment header runs past the end of the stream, or lacks an end marker. The data that is present is decoded and the rest is ignored.
Jbig2SegmentTypeReserved Warning ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 segment has a reserved or forbidden type. The segment is skipped.
Jbig2SegmentInvalid Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 segment is malformed, such as one tied to no page, a second page information segment, a page information segment of the wrong length, or an inconsistent region segment. The segment is skipped or defaults are used.
Jbig2UnsupportedFeature Information ISO 32000-2 §7.4.7; ITU-T T.88 The JBIG2 stream uses a feature that Broadside does not decode. The image is not decoded.
Jbig2GlobalsInvalid Warning ISO 32000-2 §7.4.7; ITU-T T.88 The JBIG2Globals entry is not a usable raw segment stream: it is encoded itself, is not a stream, or holds page-associated segments. It is ignored or those segments are ignored.
Jbig2CombinationOperatorMismatch Warning ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 region uses a combination operator other than the page default although the page does not allow overriding it. The region's own operator is used.
Jbig2IntermediateRegionUnused Warning ISO 32000-2 §7.4.7; ITU-T T.88 The JBIG2 page has intermediate regions that no refinement region refers to. Those regions are dropped.
Jbig2RegionDataTruncated Warning ISO 32000-2 §7.4.7; ITU-T T.88 The data of a JBIG2 region, symbol dictionary or halftone ends early. The rows, symbols or instances decoded so far are kept and the missing rows are zero.
Jbig2RegionDataInvalid Error ISO 32000-2 §7.4.7; ITU-T T.88 The data of a JBIG2 region, symbol dictionary or halftone is invalid, such as a bad MMR code or an impossible symbol size. The rows or symbols after the error are zero or dropped.
Jbig2LimitExceeded Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 segment is larger than the image size, symbol count or pixel limits allow. The segment is not decoded or decoding of the region stops.
Jbig2SymbolIdOutOfRange Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 text region or symbol dictionary refers to a symbol ID beyond its symbols. An empty symbol is used in its place.
Jbig2ExportRunOverflow Warning ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 symbol dictionary has an export run that goes past its last symbol. The run is cut there.
Jbig2SymbolCountMismatch Warning ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 symbol dictionary exports a different number of symbols than its header states. The flagged symbols are exported.
Jbig2ContextReuseInvalid Warning ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 symbol dictionary asks to reuse coding statistics from a referred dictionary that did not retain them or has different parameters. The statistics are reset.
Jbig2TableInvalid Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 custom code table is invalid, or a text region or symbol dictionary selects a reserved Huffman table or a custom table it does not refer to. The affected segments are not decoded.
Jbig2RefinementReferenceMissing Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 refinement region refers to no intermediate region that is still held. The region refines the page bitmap instead.
Jbig2ReferredSegmentMissing Error ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 segment refers to a segment that is absent or could not be decoded. The segment is decoded without it.
Jbig2GrayValueOutOfRange Warning ISO 32000-2 §7.4.7; ITU-T T.88 A JBIG2 halftone region has gray-scale values beyond its pattern dictionary's maximum. The last pattern is used for them.

Jpx

Codes of JpxDiagnostics, reported under DiagnosticArea.Jpx.

Code Default severity Clause Meaning and typical repair
JpxSignatureInvalid Warning ITU-T T.800 Annex I, Annex A The JPXDecode data is neither a JPEG 2000 file nor a recognizable codestream. The first start-of-codestream and SIZ markers found are used, or nothing is decoded.
JpxBoxInvalid Warning ITU-T T.800 Annex I, Annex A A JPEG 2000 file box is malformed, such as an impossible length, a too-short color specification, or a component mapping or palette that does not fit. The box is ignored or the affected channel is dropped.
JpxMarkerUnexpected Warning ITU-T T.800 Annex I, Annex A The JPEG 2000 codestream has a marker where it does not belong, such as a missing SOC or SIZ start or bytes that are not a marker segment. The marker or the remaining header is ignored.
JpxMarkerSegmentInvalid Warning ITU-T T.800 Annex I, Annex A A JPEG 2000 marker segment is invalid, such as an impossible length, an unusable SIZ segment, a missing COD or QCD, or a tile index out of range. The segment or tile-part is ignored where possible.
JpxPsotInvalid Warning ITU-T T.800 Annex I, Annex A A JPEG 2000 tile-part length (Psot) is impossible. The tile-part is taken to end at the next tile-part or the end of the codestream.
JpxCodestreamTruncated Warning ITU-T T.800 Annex I, Annex A The JPEG 2000 codestream ends early. The data present is decoded and the rest of the image is left empty.
JpxTilePartOrder Warning ITU-T T.800 Annex I, Annex A The tile-parts of a JPEG 2000 tile are duplicated or out of order. A duplicate is ignored and the parts are read in TPsot order.
JpxPocInvalid Warning ITU-T T.800 Annex I, Annex A A JPEG 2000 POC marker segment has an uneven length or an empty or unknown progression volume. Whole volumes are used and bad ones are skipped.
JpxPpmInvalid Warning ITU-T T.800 Annex I, Annex A A JPEG 2000 PPM or PPT marker segment is empty, misplaced, or holds fewer or truncated packet-header records. The segment is ignored or the records are cut to what exists.
JpxCodestreamRaw Information ITU-T T.800 Annex I, Annex A The JPXDecode data is a bare JPEG 2000 codestream rather than a JPX file. It is decoded normally; this records that the file wrapper is absent.
JpxCodestreamsIgnored Warning ITU-T T.800 Annex I, Annex A The JPX file holds several codestreams or a fragment table, which PDF does not support. Only the first or contiguous codestream is decoded.
JpxFragmentExternal Error ISO 32000-2 §7.4.9; ISO/IEC 15444-2 fragment table box The JPX fragment table lists a fragment in another file or at a URL. External fragments are never opened or fetched, so the fragmented codestream is not read.
JpxHighThroughputUnsupported Error ITU-T T.800 Annex I, Annex A The JPEG 2000 codestream uses high-throughput block coding, which Broadside does not decode. The image is not decoded.
JpxPacketHeaderTruncated Warning ITU-T T.800 Annex B, Annex D, Annex G A JPEG 2000 packet header runs past the end of the tile data. Decoding of the tile stops there.
JpxEphMissing Warning ITU-T T.800 Annex B, Annex D, Annex G A JPEG 2000 packet header is not followed by the end-of-packet-header marker that the coding style announces. The data is read as if the marker were present.
JpxCodeBlockInvalid Warning ITU-T T.800 Annex B, Annex D, Annex G A JPEG 2000 code-block claims more missing bit-planes than its sub-band has. The code-block is left empty.
JpxSegmentationSymbolMismatch Warning ITU-T T.800 Annex B, Annex D, Annex G A JPEG 2000 code-block's segmentation symbol is not the expected value. The data is decoded anyway.
JpxMctSkipped Warning ITU-T T.800 Annex B, Annex D, Annex G The JPEG 2000 multiple component transform cannot be applied because the first three components differ in size or wavelet filter. The transform is skipped.
JpxPrecisionUnsupported Information ISO 32000-2 §7.4.9; ITU-T T.800 Annex I A JPEG 2000 sub-band needs more magnitude bit-planes than the decoder supports. Those code-blocks are not decoded and are left empty.
JpxChannelCountMismatch Warning ISO 32000-2 §7.4.9; ITU-T T.800 Annex I The JPEG 2000 data has fewer color channels than the color space needs. The missing channels are filled with zero.
JpxLimitExceeded Error ISO 32000-2 §7.4.9; ITU-T T.800 Annex I A JPEG 2000 image, tile or component set is larger than the configured size or structure limits. The image or tile is not decoded.
JpxColorSpecificationUnsupported Information ISO 32000-2 §7.4.9; ITU-T T.800 Annex I A JPEG 2000 color specification is unsupported or absent. The next specification or the channel count decides the color space, an enumerated space is read as RGB, or sub-sampled components are read as YCbCr.
JpxPaletteIndexOutOfRange Warning ISO 32000-2 §7.4.9; ITU-T T.800 Annex I A JPEG 2000 component holds palette indices past the palette's last entry. The last palette entry is used for them.
JpxOpacityChannelAmbiguous Warning ISO 32000-2 §7.4.9; ITU-T T.800 Annex I A JPEG 2000 image has several opacity channels, or one for a single color. PDF uses one opacity channel for all colors, so the first one is used.

Image

Codes of ImageDiagnostics, reported under DiagnosticArea.Image.

Code Default severity Clause Meaning and typical repair
ImageDimensionInvalid Warning ISO 32000-2 §8.9.5 Table 87 An image Width or Height is missing, not an integer, or not positive. A fractional value is rounded down and a mask falls back to its image size, otherwise the image cannot be painted.
ImageBitsPerComponentInvalid Warning ISO 32000-2 §8.9.5 Table 87 An image BitsPerComponent value is not 1, 2, 4, 8 or 16, or is not a number. The samples are read at the stated depth, or the image cannot be painted if it is unusable.
ImageColorSpaceMissing Warning ISO 32000-2 §8.9.5 Table 87 An image has no ColorSpace entry, which only image masks and JPEG 2000 images may omit. The image cannot be painted.
ImageColorSpaceInvalid Warning ISO 32000-2 §8.9.5 Table 87 An image uses a color space that images may not use, such as a Pattern space. The image cannot be painted.
ImageMaskConflict Warning ISO 32000-2 §8.9.5 Table 87 An image mask has a BitsPerComponent other than 1, or also carries ColorSpace, Mask or SMask entries. A depth of 1 is used and the extra entries are ignored.
ImageDecodeInvalid Warning ISO 32000-2 §8.9.5 Table 87 An image Decode array has the wrong type or the wrong number of entries. The default is used, extra entries are dropped, or an image mask Decode is read by which end is larger.
ImageKeyAbbreviated Warning ISO 32000-2 §8.9.5 Table 87 An image dictionary uses an inline-image abbreviated key outside an inline image. The abbreviation is read as the full key.
ImageAlternatesInvalid Warning ISO 32000-2 §8.9.5 Table 87 An element of the image Alternates array is not an alternate image dictionary with an image stream. That element is skipped.
ImageTooLarge Error ISO 32000-2 §8.9.3 An image would need more memory than the configured limits allow when decoded. The image is not decoded.
ImageDataTruncated Warning ISO 32000-2 §8.9.3 The image data has fewer bytes than its dimensions require. The complete rows are kept and the remaining samples are zero.
ImageDataTooLong Information ISO 32000-2 §8.9.3 The image data has more bytes than its dimensions require. The extra bytes are ignored.
ImageDimensionMismatch Warning ISO 32000-2 §8.9.3 The decoded image data has a different size than the image dictionary states. The size of the decoded data is used.
ImageComponentMismatch Warning ISO 32000-2 §8.9.3 The decoded image data has a different number of components than the color space expects. Extra components are dropped or missing ones are filled.
ImageMaskInvalid Warning ISO 32000-2 §8.9.6, §11.6.5.2 An image Mask entry is invalid, such as a stream that is not an image mask, a color key array of the wrong length, or a value of the wrong type. The mask is ignored or the array is trimmed.
ImageSoftMaskInvalid Warning ISO 32000-2 §8.9.6, §11.6.5.2 An image soft mask is invalid, such as an image mask used as a soft mask, a color space other than DeviceGray, or an SMask that is not a stream. The soft mask is read as gray, adjusted, or ignored.
ImageMatteInvalid Warning ISO 32000-2 §8.9.6, §11.6.5.2 A soft mask Matte entry does not match the image, either in component count or in image size. The Matte is ignored.
ImageSoftMaskInDataIgnored Warning ISO 32000-2 §8.9.6, §11.6.5.2 An image uses SMaskInData together with an SMask, or on data that is not JPXDecode. The SMask takes no part in one case, and the SMaskInData entry is ignored in the other.
ImageDecodedManaged Information ISO 32000-2 §7.4.8 A platform image decoder did not decode an image, so the managed codec decodes it instead. This records the fallback and the reason the platform decoder gave.
PlatformImageVerified Warning ISO 32000-2 §7.4.8 A platform image decoder's output was compared with the managed codec and matched within tolerance. This is informational and records the measured difference.
PlatformImageMismatch Warning ISO 32000-2 §7.4.8 A platform image decoder's output differs from the managed codec beyond tolerance, or could not be compared with it. The platform output is still used and the difference is recorded.
InlineImageFilterNotAllowed Warning ISO 32000-2 §8.9.7 An inline image uses a filter that is not allowed in inline images. The filter is applied anyway.

Font

Codes of FontDiagnostics, reported under DiagnosticArea.Font.

Code Default severity Clause Meaning and typical repair
Type0EncodingMissing Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 A Type 0 font has no valid Encoding CMap name or stream; its character codes are read as Identity-H.
Type0DescendantFontsInvalid Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 A Type 0 font's DescendantFonts entry is not a one-element array holding a CIDFont. Extra or wrongly typed entries are tolerated where possible; otherwise the font's glyphs cannot be shown.
Type0IdentityNotEmbedded Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 Identity-H or Identity-V is used with a TrueType CIDFont that is not embedded, which the specification does not allow. The font is still processed as written.
CidSystemInfoInvalid Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 A CIDFont or CMap has a missing or malformed CIDSystemInfo dictionary lacking Registry, Ordering or Supplement. A malformed one in a CMap is ignored.
CidSystemInfoMismatch Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 The character collection (Registry and Ordering) of a CMap differs from that of its CIDFont. The CIDs are used as they are.
CidFontSubtypeInvalid Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 A CIDFont's Subtype is missing or is neither CIDFontType0 nor CIDFontType2. The font is read as CIDFontType2.
CidFontWidthsInvalid Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 A CIDFont's DW or W entry has the wrong type or malformed groups. The default width of 1000 or the DW value is used for the affected CIDs.
CidFontVerticalMetricsInvalid Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 A CIDFont's DW2 or W2 vertical metrics entry has the wrong type or malformed groups. Default vertical metrics or the DW2 value are used for the affected CIDs.
CidToGidMapMissing Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 An embedded CIDFontType2 font has no usable CIDToGIDMap, which must be a stream or the name Identity. CIDs are used directly as glyph ids.
CidToGidMapInvalid Warning ISO 32000-2 §9.7.3, §9.7.4, §9.7.6.1 A CIDToGIDMap stream has an odd byte count or an entry that is neither a stream nor the name Identity. A trailing odd byte is ignored, otherwise CIDs are used as glyph ids.
FontSubstituted Information ISO 32000-2 §9.6.2.2, §9.8.1, §9.8.2 A font is not embedded, so a substitute font program is used in its place. Text keeps the widths declared by the original font.
FontProgramNotFound Information ISO 32000-2 §9.6.2.2, §9.8.1, §9.8.2 No font program is embedded or can be found for a font. Its glyphs are not drawn until a Standard 14 fonts package or a font resolver is configured.
FontSubstituteUnreadable Information ISO 32000-2 §9.6.2.2, §9.8.1, §9.8.2 A substitute font program was found for a non-embedded font but cannot be read by the available font program parsers. The glyphs of that font are not drawn.
FontTypeInvalid Warning ISO 32000-2 §9.5, §9.6, §9.8 A font dictionary's Type entry is missing or is not Font. The dictionary is read as a font anyway.
FontSubtypeInvalid Warning ISO 32000-2 §9.5, §9.6, §9.8 A font dictionary's Subtype is missing or is not one of the defined font types. The font is read as a Type 1 font.
FontBaseFontMissing Warning ISO 32000-2 §9.5, §9.6, §9.8 A font dictionary has no BaseFont name. The font is processed without it, which can limit font substitution.
FontStandard14Alias Information ISO 32000-2 §9.5, §9.6, §9.8 A font that is not embedded is treated as one of the Standard 14 fonts. The metrics of that standard font are used for it.
FontStandard14EntriesIncomplete Warning ISO 32000-2 §9.5, §9.6, §9.8 A Standard 14 font supplies only some of FirstChar, LastChar, Widths and FontDescriptor instead of all or none. The entries that are present are used.
FontDescriptorMissing Warning ISO 32000-2 §9.5, §9.6, §9.8 A simple font that is not a Standard 14 font has no font descriptor. Default font metrics and flags are used.
FontDescriptorInvalid Warning ISO 32000-2 §9.5, §9.6, §9.8 A font descriptor is not a dictionary or has entries that violate the font descriptor requirements. The offending entries are ignored and defaults are used.
FontWidthsMissing Warning ISO 32000-2 §9.5, §9.6, §9.8 A simple font that is not a Standard 14 font has no Widths array. Each code takes the width of its glyph from the font program, or 0 if none is known.
FontWidthsInvalid Warning ISO 32000-2 §9.5, §9.6, §9.8 A font's Widths entry is not an array or contains invalid values. A non-array entry is ignored, and other deviations are repaired where possible.
FontEncodingInvalid Warning ISO 32000-2 §9.5, §9.6, §9.8 A simple font's Encoding entry deviates from the allowed forms. The encoding is repaired where possible and otherwise the font's built-in encoding is used.
FontEncodingIgnored Information ISO 32000-2 §9.5, §9.6, §9.8 A named encoding is specified for a non-embedded symbolic font. The encoding is ignored and the font's built-in encoding is used, as other viewers do.
FontDifferencesInvalid Warning ISO 32000-2 §9.5, §9.6, §9.8 An encoding's Differences array contains entries that are not allowed, such as a bad code or a missing glyph name. Offending entries are skipped.
FontBuiltInEncodingUnavailable Information ISO 32000-2 §9.5, §9.6, §9.8 The font's built-in encoding cannot be determined, either because the embedded program's encoding is not read or because a non-embedded symbolic font has none. StandardEncoding stands in.
FontGlyphMissing Information ISO 32000-2 §9.5, §9.6, §9.8 A Standard 14 font has no glyph for a requested glyph name. The glyph has a width of 0 and nothing is drawn for it.
FontProgramUnsupported Information ISO 32000-2 §9.9 The font program is in a format that no available parser reads, or uses outline features that are not supported. The font's glyphs are not available.
FontProgramFormatMismatch Warning ISO 32000-2 §9.9 The font file stream is declared as one font program format but its data is another. The data is read as the format it actually holds.
FontProgramInvalid Error ISO 32000-2 §9.9 A font program cannot be parsed or is unusable, for example it is malformed or lacks required tables. The font's glyphs are not available.
FontProgramTruncated Warning ISO 32000-2 §9.9 The font file stream's declared Length1 is larger than its data. The bytes that are present are read.
FontTableInvalid Warning ISO 32000-2 §9.9 A TrueType or OpenType table directory is malformed, such as an unknown sfnt version, a bad font collection index, a wrong table count or a table past the end. The usable tables are read.
FontGlyphInvalid Warning ISO 32000-2 §9.9 A glyph in a font program deviates from the font format, such as a malformed TrueType glyph description. The glyph is repaired or dropped.
FontCmapInvalid Warning ISO 32000-2 §9.9 A TrueType cmap table has subtables that map codes to glyphs past the end of the glyph list or point outside their data. The missing glyph is used for those codes.
FontGlyphMappingFallback Information ISO 32000-2 §9.6.5.4 The specification leaves the glyph selection for a TrueType font to the processor, for example when conflicting flags are set. Broadside records which mapping it chose.

Char string

Codes of CharStringDiagnostics, reported under DiagnosticArea.CharString.

Code Default severity Clause Meaning and typical repair
FontCharstringStackOverflow Error Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring pushes more operands than the argument stack limit allows. The glyph is dropped.
FontCharstringArgumentCount Warning Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring operator has too few or too many arguments. Whole argument groups are used and the rest are dropped.
FontCharstringSubrOutOfRange Warning Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring subroutine call names a subroutine that does not exist. The call is skipped.
FontCharstringSubrDepth Error Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 Charstring subroutines nest deeper than the allowed limit. The glyph is dropped.
FontCharstringBudgetExceeded Error Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring executes more operators than the configured limit. The glyph is dropped.
FontCharstringUnknownOperator Warning Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring uses a reserved operator, or a return outside a subroutine. The operator is ignored and the argument stack is cleared.
FontCharstringSeacComponentMissing Warning Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A component of an accented character built with seac or a four-argument endchar is missing from the font, or is itself accented. The component is skipped.
FontCharstringNoEndchar Warning Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring ends without endchar, or a subroutine ends without return. It is treated as ended at that point.
FontCharstringMovetoMissing Warning Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring draws a path segment before any moveto. The contour starts at the current point.
FontCharstringOperandInvalid Warning Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 An arithmetic or storage operator in a charstring gets an operand it cannot use. A value of 0 is used.
FontCharstringTruncated Error Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 A charstring ends in the middle of an operand or a hint mask. The glyph is dropped.
FontCharstringCoordinateOverflow Error Adobe Technical Note #5177; Type 1 Font Format chapters 6 and 8 The arithmetic of a glyph path overflows, so a coordinate is not a finite number. The glyph is dropped.

Cff

Codes of CffDiagnostics, reported under DiagnosticArea.Cff.

Code Default severity Clause Meaning and typical repair
FontCffHeaderInvalid Warning Adobe Technical Note #5176 The program does not start with a valid CFF header, is a CFF2 program, or has extra bytes before the header. Extra leading bytes are skipped; otherwise the program is not usable.
FontCffIndexOutOfRange Warning Adobe Technical Note #5176 §5 A CFF INDEX starts outside the font program. It is read as empty.
FontCffIndexTruncated Warning Adobe Technical Note #5176 §5 A CFF INDEX is cut short by the end of the program. The objects whose offsets are readable are used.
FontCffIndexOffSizeInvalid Warning Adobe Technical Note #5176 §5, Table 7 A CFF INDEX declares an offSize outside the range 1 to 4. It is read as empty.
FontCffIndexOffsetsInvalid Warning Adobe Technical Note #5176 §5 The offset array of a CFF INDEX is not valid, for example offsets that decrease or point outside the data. The affected objects are clamped or skipped.
FontCffDictInvalid Warning Adobe Technical Note #5176 A CFF Top DICT, Font DICT or Private DICT has malformed or unusable entries, such as a FontMatrix that cannot be inverted. Defaults or a repaired value are used.
FontCffPrivateMissing Warning Adobe Technical Note #5176 A CFF font has no Private entry, or its Private DICT lies outside the program or runs past its end. Private DICT defaults are used, or the part present is read.
FontCffMultipleFonts Warning Adobe Technical Note #5176 An embedded CFF program holds more than one font, where exactly one is required. The first font is read.
FontCffCharsetInvalid Warning Adobe Technical Note #5176 The CFF charset is malformed or inconsistent with the glyph count. It is repaired where possible.
FontCffEncodingInvalid Warning Adobe Technical Note #5176 The CFF built-in encoding is malformed. It is repaired where possible.
FontCff2Unsupported Information Adobe Technical Note #5176 An OpenType font holds CFF2 variable outlines, which are not read. The font's glyphs are not available.
FontCffFdArrayMissing Warning Adobe Technical Note #5176 §18-19 A CID-keyed CFF font has no FDArray, or its FDArray holds no Font DICT. Its glyphs are read with the Private DICT defaults.
FontCffFdSelectInvalid Warning Adobe Technical Note #5176 §18-19 The FDSelect of a CID-keyed CFF font is malformed. Glyphs it does not assign use the first Font DICT.

Type1

Codes of Type1Diagnostics, reported under DiagnosticArea.Type1.

Code Default severity Clause Meaning and typical repair
FontType1PfbWrapped Warning ISO 32000-2 §9.9 Table 125; Type 1 Font Format §7.2; Adobe Technical Note #5040 §3.3 The font file stream holds a PFB file instead of the bare Type 1 program. The segment headers are removed.
FontType1Length1Repaired Warning ISO 32000-2 §9.9 Table 125; Type 1 Font Format §7.2; Adobe Technical Note #5040 §3.3 The font file stream's Length1 does not match where the clear text ends. The clear text is taken up to the eexec keyword instead.
FontType1Length2Repaired Warning ISO 32000-2 §9.9 Table 125; Type 1 Font Format §7.2; Adobe Technical Note #5040 §3.3 The font file stream's Length2 does not match the amount of encrypted data after the clear text. All of the following bytes are decrypted.
FontType1HexEexec Warning ISO 32000-2 §9.9 Table 125; Type 1 Font Format §7.2; Adobe Technical Note #5040 §3.3 The encrypted portion of the Type 1 program is hexadecimal text rather than binary. It is decoded anyway.
FontType1NoEexec Warning ISO 32000-2 §9.9 Table 125; Type 1 Font Format §7.2; Adobe Technical Note #5040 §3.3 The Type 1 program has no currentfile eexec marker. The whole program is read as clear text.
FontType1FontMatrixInvalid Warning Type 1 Font Format chapters 2, 5 and 10 The Type 1 program's FontMatrix is not an array of six numbers. The default matrix of 0.001 scale is used.
FontType1EncodingInvalid Warning Type 1 Font Format chapters 2, 5 and 10 The Type 1 program's Encoding is a named encoding that is not read, or has an entry with an invalid code. StandardEncoding is used or the entry is ignored.
FontType1PrivateMissing Warning Type 1 Font Format chapters 2, 5 and 10 The Type 1 program has no Private dictionary. Its CharStrings are read with the default lenIV of 4.
FontType1EntryInvalid Warning Type 1 Font Format chapters 2, 5 and 10 The private dictionary of the Type 1 program has entries that deviate from the font format. The affected entries are ignored or defaulted.
FontType1CharStringsMissing Error Type 1 Font Format chapters 2, 5 and 10 The Type 1 program has no CharStrings dictionary. None of its glyphs are available.
FontType1NotdefMissing Warning Type 1 Font Format chapters 2, 5 and 10 The Type 1 CharStrings dictionary has no .notdef glyph. An empty glyph stands in for it.
FontType1CharstringTruncated Warning Type 1 Font Format chapters 6 and 8; Adobe Technical Note #5015 A Type 1 charstring is shorter than its lenIV random prefix bytes. It is treated as empty.
FontType1FlexMalformed Warning Type 1 Font Format chapters 6 and 8; Adobe Technical Note #5015 A Type 1 flex does not record seven points between OtherSubrs 1 and 0. The stray point or the whole flex is dropped.
FontType1BlendUnavailable Warning Type 1 Font Format chapters 6 and 8; Adobe Technical Note #5015 A multiple master blend in a Type 1 charstring has no matching WeightVector. The first master's values are used.
FontType1NoWidth Warning Type 1 Font Format chapters 6 and 8; Adobe Technical Note #5015 A Type 1 charstring does not start with hsbw or sbw. Its side bearing and width are taken as 0.
FontType1GlyphTooComplex Error Type 1 Font Format chapters 6 and 8; Adobe Technical Note #5015 A Type 1 glyph has more points than the configured limit, or its coordinates overflow. The glyph is dropped.

Type3

Codes of Type3Diagnostics, reported under DiagnosticArea.Type3.

Code Default severity Clause Meaning and typical repair
FontType3FontMatrixInvalid Warning ISO 32000-2 §9.6.4 Table 110 A Type 3 font's FontMatrix is not an array of six numbers. The default matrix of 0.001 scale is used.
FontType3CharProcsInvalid Warning ISO 32000-2 §9.6.4 Table 110 A Type 3 font has no CharProcs dictionary, or a CharProcs entry is not a content stream. The affected glyphs paint nothing.
ContentType3GlyphMetricsMissing Warning ISO 32000-2 §9.6.4 Table 111 A Type 3 glyph description does not begin with a d0 or d1 operator. It runs as if it began with d0, so the glyph sets its own color; the advance still comes from Widths.
ContentType3GlyphMetricsMisplaced Warning ISO 32000-2 §9.6.4 Table 111 A d0 or d1 operator appears in a Type 3 glyph description somewhere other than as its first operator. The misplaced operator is ignored.
ContentType3GlyphRecursion Warning ISO 32000-2 §9.6.4 Table 111 A Type 3 glyph description shows text in its own font, so the glyph would run inside itself. The inner glyph is not run again but still advances.

CMap

Codes of CMapDiagnostics, reported under DiagnosticArea.CMap.

Code Default severity Clause Meaning and typical repair
CMapSyntaxInvalid Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap file contains syntax that cannot be parsed. The parser skips the damaged part and continues.
CMapEntryInvalid Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap entry is malformed, such as a WMode other than 0 or 1, a code that is not a hexadecimal string, a code longer than four bytes or a non-integer CID. The entry is dropped or repaired.
CMapEntryLimitExceeded Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap has more entries than the configured limit. The remaining entries are dropped.
CMapCodespaceMissing Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap defines no codespace range. Codes take the lengths used by its mappings.
CMapOperatorNotAllowed Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap uses an operator that is not allowed in a PDF CMap, such as rearranged font blocks, a nonzero usefont operand, or bfchar in an encoding CMap. The block is skipped or handled as the nearest valid form.
CMapUseCMapInvalid Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap refers to another CMap through UseCMap in an invalid way, such as a wrong type or a conflict with the stream's own entry. The reference is ignored or the stream's UseCMap is used.
CMapUseCMapCycle Error ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap uses itself through its UseCMap chain. The chain is cut at the repeat.
CMapUseCMapTooDeep Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 CMaps nest through usecmap deeper than the allowed limit. The deeper CMaps are ignored.
CMapWritingModeMismatch Warning ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap stream's WMode entry differs from the writing mode in the CMap file. The value in the file is used.
CMapUnavailable Information ISO 32000-2 §9.7.5; Adobe Technical Note #5014 §7 A CMap that is referenced by name is not available, for example a predefined CMap that is not installed. The CMap is read without it, or a fallback such as Identity is used.
CMapCodeInvalid Warning ISO 32000-2 §9.7.6.2, §9.7.6.3 A shown string has a code that lies in no codespace range of the font's CMap. The code consumes bytes as the CMap allows and shows the glyph of CID 0.

Text

Codes of TextDiagnostics, reported under DiagnosticArea.Text.

Code Default severity Clause Meaning and typical repair
ToUnicodeInvalid Warning ISO 32000-2 §9.10.3 A font's ToUnicode entry is not a CMap stream. It is ignored.
ToUnicodeIdentityName Warning ISO 32000-2 §9.10.3 A font's ToUnicode entry is a name such as Identity instead of a CMap stream. Each code is read as its own UTF-16 value, as other viewers do.
ToUnicodeDestinationInvalid Warning ISO 32000-2 §9.10.3 A destination string in a ToUnicode CMap is not valid, for example not a UTF-16BE string. The mapping is skipped or repaired.
ToUnicodeBfRangeOverflow Warning ISO 32000-2 §9.10.3 The destination of a bfrange in a ToUnicode CMap would overflow its last byte across the range. The last character of the destination is incremented as a whole.
ToUnicodeCidMapping Warning ISO 32000-2 §9.10.3 A ToUnicode CMap uses CID mappings instead of bfchar and bfrange. Each code maps to the Unicode value of its CID and notdef mappings are ignored.
ToUnicodeCodeLengthMismatch Warning ISO 32000-2 §9.10.2 The code lengths in a font's ToUnicode CMap differ from the lengths its encoding reads. Codes are matched by value.
GlyphNameNonStandard Information ISO 32000-2 §9.10.2 A glyph name uses lowercase hexadecimal digits, which the Adobe Glyph List specification does not allow. The name is read as written.
TextUcs2CmapMissing Information ISO 32000-2 §9.10.2 Text extraction needs a UCS2 CMap table that is not available. Text for the affected font may be missing until predefined CMaps are installed or a font resolver supplies the table.
TextUnicodeUnmapped Information ISO 32000-2 §9.10.2 No method defined by the specification can map a character code of a font to Unicode. The extracted text for that code is U+FFFD.
CidToUnicodeResourceInvalid Information ISO 32000-2 §9.10.2 A CID to Unicode table supplied by the font resolver deviates from the CMap file format. What could be read is used.

Content

Codes of ContentDiagnostics, reported under DiagnosticArea.Content.

Code Default severity Clause Meaning and typical repair
ContentFontMissing Warning ISO 32000-2 §9.3, §9.4 Text is shown with a font that is not in the resources Font dictionary, or with no font selected at all; Helvetica metrics are used instead.
ContentExtGStateMissing Warning ISO 32000-2 §8.4.5 Table 57 A gs operator names a graphics state parameter dictionary that is not in the resources ExtGState dictionary; the operator is ignored.
ContentExtGStateInvalid Warning ISO 32000-2 §8.4.5 Table 57 A graphics state parameter dictionary has an entry that does not match its defined type or range; the entry is repaired or ignored and the rest is applied.
ContentXObjectMissing Warning ISO 32000-2 §8.8, §8.10 A Do operator names an XObject that is not in the resources XObject dictionary; the operator is ignored and nothing is painted.
ContentXObjectInvalid Warning ISO 32000-2 §8.8, §8.10 A Do operator names an XObject that is not a stream or has a Subtype other than Form, Image or PS; the operator is ignored.
ContentPostScriptXObject Information ISO 32000-2 §8.8, §8.10 A Do operator names a deprecated PostScript XObject. The object is recorded and preserved but not interpreted, so nothing is painted for it.
ContentFormInvalid Warning ISO 32000-2 §8.8, §8.10 A form XObject has a Matrix that is not six numbers or no usable BBox; the identity matrix is used and the content is not clipped.
ContentFormCycle Warning ISO 32000-2 §8.8, §8.10 A form XObject, glyph description or soft-mask group would run inside itself; it is not run again, which breaks the cycle.
ContentInlineImageLengthMissing Information ISO 32000-2 §8.9.7 An inline image in a PDF 2.0 file has no L (length) entry; the end of its data is found by scanning for EI instead.
ContentPropertiesMissing Warning ISO 32000-2 §14.6 A marked-content operator names a property list that is not in the resources Properties dictionary; the sequence is processed without properties.
ContentMarkedContentUnbalanced Warning ISO 32000-2 §14.6 Marked-content sequences are unbalanced: an EMC has no open sequence, or the stream ends with BMC or BDC still open. The stray operator is ignored or the open sequences are closed.
ContentStreamInvalid Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 The page Contents entry is empty or is neither a stream nor an array of streams, or a stream cannot be read; the page is treated as having no content.
ContentUnknownOperator Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 A keyword that is not a known operator appears outside a BX/EX compatibility section; it and its operands are ignored.
ContentOperandCount Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 An operator has fewer or more operands than it takes, or operands are left over at the end of the stream. Operators with too few operands are skipped; extra operands are dropped.
ContentOperandType Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 An operator has an operand of the wrong type, such as a non-number in a dash array or a TJ array; the operator or the element is skipped.
ContentOperandOverflow Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 More operands are written before an operator than the interpreter limit allows; the oldest operands are dropped.
ContentSyntaxInvalid Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 The content stream has a malformed token, such as a stray delimiter, a bad number, string or name, or an unclosed array or dictionary; the token is skipped or repaired.
ContentGluedTokens Information ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 Operators and operands are written without white space between them, such as q1 or 0cm. This is recorded only; they are read as separate tokens.
ContentOperatorOutOfContext Information ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 An operator appears where the content stream object rules do not allow it, such as a graphics state change inside a path or text outside a text object. It is applied anyway.
ContentStackUnderflow Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 A Q operator has no matching q, so there is no saved graphics state to restore; the operator is ignored.
ContentStackOverflow Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 The graphics state stack is deeper than the interpreter limit; the offending q and its matching Q are ignored.
ContentUnbalancedSave Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 The content stream ends with graphics states saved by q that were never restored by Q; they are restored at the end of the stream.
ContentNoCurrentPoint Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 A line, curve or closepath operator is used without a current point; a line or curve is read as a moveto to its end point and h is ignored.
ContentNoCurrentPath Information ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 A clipping or path-painting operator is used without a current path. This is recorded only; nothing is painted, and a pending clip applies to the next painted path.
ContentPathNotPainted Information ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 The content stream ends inside a path object that was never painted. This is recorded only; the unpainted path is discarded.
ContentGraphicsStateRange Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 A graphics state value is outside its allowed range, such as a negative line width, a miter limit below 1, a bad flatness, dash array or text rendering mode. It is clamped or replaced by a default.
ContentCompatibilityUnbalanced Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 BX and EX are unbalanced: an EX has no matching BX, or the stream ends inside a compatibility section; the stray EX is ignored.
ContentTextObjectUnbalanced Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 BT and ET are unbalanced: BT appears inside a text object, ET appears without one, or the stream ends inside a text object. The stray operator is ignored or the object is ended there.
ContentInlineImageInvalid Warning ISO 32000-2 §7.8.2, §8.2, §8.4, §8.5 An inline image is malformed: ID or EI is missing or out of place, its dictionary holds invalid values, or its data does not end where L says. The image ends at the end that is found.

Function

Codes of FunctionDiagnostics, reported under DiagnosticArea.Function.

Code Default severity Clause Meaning and typical repair
FunctionInvalid Error ISO 32000-2 §7.10 A function dictionary or stream is unusable, for example it has the wrong type, missing required entries, or is an identity where a real function is required. The function is not used.
FunctionEntryInvalid Warning ISO 32000-2 §7.10 An entry of a function dictionary has an invalid value, such as a malformed Domain, Range or Bounds array. The entry is repaired with a usable default.
FunctionSampleDataTruncated Warning ISO 32000-2 §7.10 A sampled function has fewer sample bytes than its Size, BitsPerSample and output count require. The missing samples are treated as zero.
FunctionProgramSyntaxInvalid Warning ISO 32000-2 §7.10 A PostScript calculator function has a syntax problem, such as a missing opening or closing brace, text after the closing brace, or an exponent number. The program is read as if it were well formed.
FunctionProgramStackInvalid Warning ISO 32000-2 §7.10 A PostScript calculator function has a stack problem, such as taking more values than the stack holds, needing more entries than readers provide, or leaving a different number of values than Range has outputs.
FunctionCycle Error ISO 32000-2 §7.10 A stitching function contains itself, directly or through other functions. The cyclic function is not used.
FunctionTooDeep Error ISO 32000-2 §7.10 Functions are nested deeper than the supported depth limit. The innermost function is not used.
FunctionEvaluationRepaired Warning ISO 32000-2 §7.10 A function met an error while evaluating, so its outputs were repaired, for example clamped or replaced with defaults. The error is reported once per function.

Color

Codes of ColorDiagnostics, reported under DiagnosticArea.Color.

Code Default severity Clause Meaning and typical repair
ColorSpaceInvalid Warning ISO 32000-2 §8.6 A color space definition is malformed, for example a Separation colorant that is not a name, an Indexed base or hival that is invalid, or a DeviceN with no names; DeviceGray is used instead.
ColorSpaceEntryInvalid Warning ISO 32000-2 §8.6 An entry in a color space dictionary, such as CalGray or CalRGB Gamma, Matrix or a Lab Range, is invalid; a default value is used for it.
ColorSpaceCycle Error ISO 32000-2 §8.6 A color space refers back to itself while it is being read; the cyclic reference is cut and DeviceGray is used.
ColorSpaceTooDeep Error ISO 32000-2 §8.6 Color spaces nest deeper than the supported depth, or a value is not a color space name or array; DeviceGray is used instead.
IccProfileInvalid Warning ISO 32000-2 §8.6 An ICCBased stream does not hold a usable ICC profile, for example it is too short, lacks the signature, has an unsupported class or claims more data than exists. The alternate space is used or the profile is truncated.
IccComponentCountMismatch Warning ISO 32000-2 §8.6 The N entry of an ICCBased stream differs from the component count in the ICC profile header; the count from the profile is used.
IndexedLookupInvalid Warning ISO 32000-2 §8.6 An Indexed color space has no lookup string or stream, or the lookup table length does not match hival and the base space. A missing table falls back to DeviceGray; short tables read as zeros and extra bytes are ignored.
TintTransformInvalid Warning ISO 32000-2 §8.6 The tint transform of a Separation or DeviceN color space is not a usable function or has the wrong input or output count; tints are converted as subtractive ink on the alternate space, or missing outputs read as zero.
DeviceNColorantsInvalid Warning ISO 32000-2 §8.6 The colorant names array of a DeviceN color space holds a non-name, repeats a colorant or names All; invalid entries are skipped.
DefaultColorSpaceInvalid Warning ISO 32000-2 §8.6 A default color space (DefaultGray, DefaultRGB or DefaultCMYK) has the wrong component count or is a Lab, Indexed or Pattern space; it is ignored.
GroupColorSpaceInvalid Warning ISO 32000-2 §8.6 A transparency group names a color space that cannot be used as a blending color space; the group blends in its parent color space instead.
SoftMaskColorSpaceMissing Warning ISO 32000-2 §8.6 The group of a luminosity soft mask has no usable color space; the number of components of the backdrop decides the blending space.
ContentColorSpaceMissing Warning ISO 32000-2 §8.6.8 Table 73 A color space operator names a color space that is neither a family name nor in the resources ColorSpace dictionary; DeviceGray is used.
ContentColorSpaceAbbreviated Warning ISO 32000-2 §8.6.8 Table 73 A color space name that is an inline image abbreviation (G, RGB or CMYK) is used outside an inline image; it is read as the matching device space.
ContentColorOperandCount Warning ISO 32000-2 §8.6.8 Table 73 A color operator has fewer or more components than its color space needs; with too few the operator is skipped, with too many the last ones are used.
ContentColorOperatorMismatch Warning ISO 32000-2 §8.6.8 Table 73 The sc or SC operator is used in an ICCBased, Separation or DeviceN color space, which expect scn and SCN; the color is set anyway.
ContentColorOperatorInvalid Warning ISO 32000-2 §8.6.8 Table 73 A color operator is not valid for the current color space, such as a pattern name in a non-Pattern space or other operands in a Pattern space; the operator is skipped.
ContentColorOperatorIgnored Information ISO 32000-2 §8.6.8 Table 73 A color operator or colored painting appears inside a d1 glyph or an uncolored tiling pattern, where colors must not be specified. This is recorded only; the operator or object is ignored as the specification requires.
ContentPatternMissing Warning ISO 32000-2 §8.6.8 Table 73 An scn or SCN operator names a pattern that is not in the resources Pattern dictionary; the color paints nothing.
ColorComponentLimitExceeded Information ISO 32000-2 §8.6.8 Table 73 A DeviceN color space has more colorants than the supported limit. This is recorded only; colors set in it are painted through its alternate color space.

Shading

Codes of ShadingDiagnostics, reported under DiagnosticArea.Shading.

Code Default severity Clause Meaning and typical repair
ShadingTypeInvalid Error ISO 32000-2 §8.7.4, Tables 77 to 85 A shading is not a dictionary or stream, or its ShadingType is missing or not 1 to 7; the shading is not usable and paints nothing.
ShadingColorSpaceInvalid Error ISO 32000-2 §8.7.4, Tables 77 to 85 A shading has no ColorSpace, a ColorSpace that is not a color space, or one that is not allowed such as Pattern or Indexed with a function; the shading is not usable.
ShadingColorSpaceAbbreviated Warning ISO 32000-2 §8.7.4, Tables 77 to 85 A shading names its color space with CS instead of ColorSpace; the value is used as if the full name had been written.
ShadingFunctionInvalid Error ISO 32000-2 §8.7.4, Tables 77 to 85 A shading has no Function where its type requires one, or the Function does not fit the expected inputs and outputs; surplus outputs are ignored, otherwise the shading is not usable.
ShadingCoordsInvalid Warning ISO 32000-2 §8.7.4, Tables 77 to 85 The Coords entry of an axial or radial shading has the wrong number of values, or a radial shading has a negative radius; a negative radius is read as zero.
ShadingEntryInvalid Warning ISO 32000-2 §8.7.4, Tables 77 to 85 An entry of a shading, such as Domain, BBox, AntiAlias or VerticesPerRow, is missing or has the wrong form; the default for that entry is used.
ShadingExtendInvalid Warning ISO 32000-2 §8.7.4, Tables 77 to 85 The Extend entry of a shading is not an array of two booleans; neither end of the shading is extended.
ShadingBackgroundInvalid Warning ISO 32000-2 §8.7.4, Tables 77 to 85 The Background entry of a shading does not have one number per component of its color space; it is ignored.
ShadingDecodeInvalid Error ISO 32000-2 §8.7.4, Tables 77 to 85 The Decode entry of a mesh shading is missing or has too few numbers; the mesh cannot be decoded and the shading is not usable.
ShadingBitsInvalid Warning ISO 32000-2 §8.7.4, Tables 77 to 85 A mesh bits-per-coordinate, component or flag entry is missing, outside 1 to 32, or not one of the allowed values; the value is read as given or the mesh is not decoded.
ShadingNotStream Error ISO 32000-2 §8.7.4, Tables 77 to 85 A mesh shading of Type 4 to 7 is a dictionary instead of a stream, so it has no vertex data; the shading is not usable.
MeshDataTruncated Warning ISO 32000-2 §8.7.4, Tables 77 to 85 The data of a mesh shading ends inside a vertex, triangle or patch; the complete elements before the end are kept.
MeshEdgeFlagInvalid Warning ISO 32000-2 §8.7.4, Tables 77 to 85 An edge flag in a mesh shading is not allowed or continues a triangle or patch that does not exist; the data it covers is skipped.
MeshLatticeIncomplete Warning ISO 32000-2 §8.7.4, Tables 77 to 85 The last row of a lattice mesh is incomplete, or the lattice has fewer than two rows; the incomplete row is dropped.
MeshSizeExceeded Warning ISO 32000-2 §8.7.4, Tables 77 to 85 A mesh shading has more vertices than the supported limit; the remaining vertices are dropped.
MeshPatchesUnpadded Information ISO 32000-2 §8.7.4, Tables 77 to 85 The patches of a mesh shading are not padded to whole bytes as the specification requires. This is recorded only; the data is read back to back.
PatternTypeInvalid Error ISO 32000-2 §8.7.2, §8.7.3, Tables 74 and 75 A pattern is not a dictionary or stream, a tiling pattern is not a stream, or the PatternType is missing or not 1 or 2; the pattern is not usable.
PatternEntryInvalid Warning ISO 32000-2 §8.7.2, §8.7.3, Tables 74 and 75 A pattern entry such as PaintType, TilingType, Matrix or the Shading of a shading pattern is missing or invalid; a default is used or the pattern is not usable.
TilingPatternStepInvalid Warning ISO 32000-2 §8.7.2, §8.7.3, Tables 74 and 75 The XStep or YStep of a tiling pattern is missing or zero; the bounding box width or height is used, or the pattern paints nothing if there is no box.
TilingPatternBBoxMissing Warning ISO 32000-2 §8.7.2, §8.7.3, Tables 74 and 75 A tiling pattern has no usable BBox; a box of zero to XStep and zero to YStep is used.
PatternResourcesMissing Warning ISO 32000-2 §8.7.2, §8.7.3, Tables 74 and 75 A tiling pattern has no Resources dictionary; its cell uses the resources of the stream that paints with it.
ContentShadingMissing Warning ISO 32000-2 §8.7.4.2, §8.7.3 An sh operator names a shading that is not in the resources Shading dictionary; nothing is painted.
ContentPatternRecursion Warning ISO 32000-2 §8.7.4.2, §8.7.3 A tiling pattern cell paints with the same pattern, directly or through other patterns or forms; the inner cell is left empty.
ContentNestingTooDeep Warning ISO 32000-2 §8.7.4.2, §8.7.3 Form XObjects, patterns, Type 3 glyphs or soft masks nest deeper than the limit; the innermost one is not run.

Action

Codes of ActionDiagnostics, reported under DiagnosticArea.Action.

Code Default severity Clause Meaning and typical repair
ActionEntryInvalid Warning ISO 32000-2 §12.6.2 Table 196, §12.6.4, §12.7.6 An action has an entry of the wrong type or a disallowed value, or a name dictionary JavaScript entry is not a JavaScript action; the entry or action is skipped or read leniently.
ActionNextInvalid Warning ISO 32000-2 §12.6.2 Table 196, §12.6.4, §12.7.6 An action Next entry is not an action dictionary or an array of them, or an array element is not an action; the invalid part is skipped.
ActionCycle Information ISO 32000-2 §12.6.2 Table 196, §12.6.4, §12.7.6 An action Next chain leads back to an action it already follows; the cycle is cut and the action is not repeated.
ActionTreeTooDeep Warning ISO 32000-2 §12.6.2 Table 196, §12.6.4, §12.7.6 An action chain nests deeper than the supported number of Next levels; the actions below that depth are not read.
ActionTargetCycle Warning ISO 32000-2 §12.6.2 Table 196, §12.6.4, §12.7.6 The target dictionaries of an embedded go-to action form a cycle or nest too deeply; the action is not performed.
ActionOutOfScope Information ISO 32000-2 §12.6.2 Table 196, §12.6.4, §12.7.6 An action of a kind Broadside does not perform, such as JavaScript or multimedia, is kept as data and never executed. This records that the action was preserved.
UriInvalid Warning ISO 32000-2 §12.6.2 Table 196, §12.6.4, §12.7.6 A URI action has a URI that is not valid UTF-8 or is a name rather than a string; it is read as UTF-16, PDFDocEncoding or as its bytes.
AdditionalActionsInvalid Warning ISO 32000-2 §12.6.3, §7.7.2 Table 29 An AA entry is not an additional-actions dictionary; it is ignored.
OpenActionInvalid Warning ISO 32000-2 §12.6.3, §7.7.2 Table 29 The catalog OpenAction is neither a destination array nor an action dictionary; a name or string is read as a named destination.
ActionInvalid Warning ISO 32000-2 §12.6.2 Table 196 An action dictionary is malformed, for example a required entry is missing or has the wrong type; the action is read as far as it is valid.

Annotation

Codes of AnnotationDiagnostics, reported under DiagnosticArea.Annotation.

Code Default severity Clause Meaning and typical repair
AnnotsInvalid Warning ISO 32000-2 §7.7.3.3 Table 31, §12.5.2 The page Annots entry is not an array; the page is read as having no annotations.
AnnotsInherited Warning ISO 32000-2 §7.7.3.3 Table 31, §12.5.2 A page has no Annots entry but a page tree node above it has one, which is not inheritable; it is used anyway, as viewers do.
AnnotationEntryInvalid Warning ISO 32000-2 §7.7.3.3 Table 31, §12.5.2 An element of a page Annots array is not an annotation dictionary; the element is skipped.
AnnotationNotIndirect Warning ISO 32000-2 §7.7.3.3 Table 31, §12.5.2 An element of a page Annots array is a direct dictionary instead of an indirect reference; it is read anyway.
AnnotationDuplicate Warning ISO 32000-2 §7.7.3.3 Table 31, §12.5.2 A page Annots array lists the same annotation more than once; each listing is kept.
AnnotationSharedAcrossPages Warning ISO 32000-2 §7.7.3.3 Table 31, §12.5.2 One annotation is listed by the Annots arrays of more than one page; its page is the first page that lists it.
AnnotationPageMismatch Warning ISO 32000-2 §7.7.3.3 Table 31, §12.5.2 The P entry of an annotation does not name the page whose Annots array holds it; the page that holds it is used.
AnnotationTypeInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation Type entry is present but is not Annot; the entry is ignored.
AnnotationSubtypeMissing Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation has no Subtype name; it is read as an annotation of unknown type.
AnnotationSubtypeNotName Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation Subtype is a string rather than a name; it is read as the name the string spells.
AnnotationRectInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation Rect entry is missing or is not four numbers; it is read as an empty rectangle at the origin.
AnnotationFlagsInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation F entry is not an integer or sets undefined bits; a real number is truncated, other values read as 0, and undefined bits are kept.
AnnotationValueInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation or appearance characteristics entry holds an invalid value, such as a rotation that is not a multiple of 90; a default value is used or the entry is ignored.
AnnotationRequiredEntryMissing Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation lacks an entry that its annotation type requires; the annotation is read without it.
BorderArrayInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation Border entry is not an array of three numbers and an optional dash array; the default border is used or missing elements read as 0.
BorderStyleTypeInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 A border style dictionary has a Type that is not Border; the dictionary is used anyway.
ColorArrayInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation color entry is not an array of 0, 1, 3 or 4 numbers; it is read as absent.
QuadPointsInvalid Warning ISO 32000-2 §12.5.2 to §12.5.4, Tables 166 to 169 An annotation QuadPoints entry is not an array of 8n numbers; only its complete quadrilaterals are read.
AppearanceMissing Warning ISO 32000-2 §12.5.5 Table 170 An annotation has no appearance dictionary where one is required; it has no appearance.
AppearanceStateMissing Warning ISO 32000-2 §12.5.5 Table 170 An annotation appearance has several states but no AS entry selects one; the annotation has no appearance.
AppearanceEntryInvalid Warning ISO 32000-2 §12.5.5 Table 170 An appearance dictionary entry or state is not a stream or dictionary as required; the entry is skipped and gives no appearance.
AppearanceBBoxMissing Warning ISO 32000-2 §12.5.5 Table 170 An appearance stream has no BBox of four numbers; the size of the annotation rectangle is used.
AppearanceNotForm Warning ISO 32000-2 §12.5.5 Table 170 An appearance stream Subtype is not Form; it is read as a form XObject.
AppearanceResourcesMissing Warning ISO 32000-2 §12.5.5 Table 170 An appearance stream refers to a resource that its Resources dictionary does not provide; the content that needs it is drawn without it.
AppearanceNotRendered Information ISO 32000-2 §12.5.5 An annotation has no normal appearance stream for its current state, so it is not drawn; appearances are not generated during rendering. This records the omission.
PopupLinkMismatch Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 A pop-up annotation and its parent markup annotation do not name each other through Popup and Parent; the entries are read as written.
PopupParentInvalid Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 A pop-up annotation Parent is not a markup annotation; the link is not used.
InReplyToInvalid Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 An annotation IRT entry is not another annotation dictionary; it is ignored.
InReplyToOtherPage Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 An annotation replies to an annotation that is not on the same page; the reply link is kept as written.
ReplyTypeWithoutInReplyTo Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 An annotation has an RT entry but no IRT entry that it depends on; the RT entry has no effect.
StateModelMissing Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 A text annotation has a State entry but no StateModel; the entries are read as written.
LinkActionAndDest Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 A link annotation has both an A and a Dest entry; the action is the one performed.
TrapNetPlacementInvalid Warning ISO 32000-2 §12.5.6.2, §12.5.6.3, §12.5.6.14, §12.5.6.21 A page has more than one trap network annotation or it is not the last element of Annots; the annotations are read as written.

Form

Codes of FormDiagnostics, reported under DiagnosticArea.Form.

Code Default severity Clause Meaning and typical repair
AcroFormInvalid Warning ISO 32000-2 §12.7.3 Table 224, Annex K The AcroForm entry in the document catalog is not an interactive form dictionary; it is ignored and the document is read without a form.
AcroFormFieldsMissing Warning ISO 32000-2 §12.7.3 Table 224, Annex K The interactive form dictionary has no Fields array, or its Fields entry is not an array; the form is read as having no fields.
AcroFormEntryInvalid Warning ISO 32000-2 §12.7.3 Table 224, Annex K An entry of the interactive form dictionary, such as NeedAppearances, SigFlags or CO, has the wrong type or undefined bits; it is read as a default value, kept as is, or ignored.
XfaFormPresent Information ISO 32000-2 §12.7.3 Table 224, Annex K The interactive form has an XFA resource, which is deprecated in PDF 2.0. This is recorded only; the XFA data is preserved but not used and the AcroForm fields are read.
XfaFormDynamic Information ISO 32000-2 §12.7.3 Table 224, Annex K The catalog marks the document as a dynamic XFA form whose pages are placeholders; the page content is not rendered.
XfaPacketsInvalid Warning ISO 32000-2 §12.7.3 Table 224, Annex K The XFA array does not alternate packet names and streams; the elements that do not fit that pattern are skipped.
XfaDataNotUpdated Information ISO 32000-2 §12.7.3 Table 224, Annex K A field was filled through the AcroForm only. This is recorded only; the XFA resource is kept unchanged, so its datasets still hold the old value.
FlattenInvalidatesSignatures Warning ISO 32000-2 §12.5.5 The form is signed and is being flattened; flattening removes the signature fields and changes the signed document, so the signatures no longer verify.
FieldReferenceInvalid Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 An element of the form Fields array or a field Kids array is not a field dictionary; it is skipped.
FieldNotIndirect Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A field dictionary in the Fields or Kids array is a direct object instead of an indirect reference; it is read anyway.
FieldTreeCycle Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A field dictionary appears more than once in the field tree, through a cycle or a kid with two parents; only its first occurrence is read.
FieldTreeTooDeep Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 The field tree is nested deeper than the supported limit; fields below the limit are not read.
FieldNotRoot Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A field in the form Fields array has a Parent entry although only root fields belong there; it is read as a root field.
FieldParentMissing Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A kid in the field tree has no Parent entry; the dictionary whose Kids array holds it is used as its parent.
FieldParentMismatch Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 The Parent entry of a kid does not name the dictionary whose Kids array holds it; the tree is followed through Kids.
FieldKidsMixed Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 The Kids array of a field holds both fields and widget annotations; the widget annotations are ignored.
FieldNameMissing Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A dictionary in the field tree has no partial name. Its kids are read as kids of the field above, or it is skipped as a widget, or its widgets are ignored when it is an unnamed root.
FieldNameHasPeriod Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A partial field name contains a period, which is the separator in fully qualified names; the name is kept, so looking the field up by name may be ambiguous.
FieldNameDuplicateInconsistent Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 Fields with the same fully qualified name have different field types, values or default values, although they should be identical; each is read as written.
FieldTypeMissing Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A terminal field has no field type, or its type is not one that is defined, even through inheritance; its type is treated as unknown.
ButtonFlagsConflict Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A button field sets both the Pushbutton and Radio flags, which exclude each other; it is read as a push button.
SignatureFieldMultipleWidgets Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A signature field refers to more than one widget annotation, which is not allowed; all its widgets are kept.
WidgetNotInFieldTree Warning ISO 32000-2 §12.7.2, §12.7.4.1, §12.7.4.2 A widget annotation belongs to no terminal field, since neither it nor any dictionary up its Parent chain is a terminal field with a name; it is not treated as a form field.
FieldEntryInvalid Warning ISO 32000-2 §12.7.4, §12.7.5 A field entry such as Kids, T or Q has the wrong type or value; it is ignored, read in its text form, or read as a default such as an empty name or left alignment.
FieldFlagsInvalid Warning ISO 32000-2 §12.7.4, §12.7.5 The Ff flags entry of a field is negative, a real number, not a number, or sets undefined bits; it is read as its bit pattern, truncated, read as 0, or kept as is.
FieldValueTypeInvalid Warning ISO 32000-2 §12.7.4, §12.7.5 A field entry such as V, DV or MaxLen does not have the type required for its field type; the value is read as far as it can be.
DefaultAppearanceMissing Warning ISO 32000-2 §12.7.4, §12.7.5 A field with variable text has no default appearance string in itself, its ancestors or the interactive form; defaults are used when drawing its text.
DefaultAppearanceInvalid Warning ISO 32000-2 §12.7.4, §12.7.5 The default appearance string of a field is malformed; the parts that can be read are used.
DefaultAppearanceFontMissing Warning ISO 32000-2 §12.7.4, §12.7.5 The font named in the default appearance string of a field is not in the default resources of the form; the font cannot be resolved from them.
TextCombInvalid Warning ISO 32000-2 §12.7.4, §12.7.5 A text field sets the Comb flag without a MaxLen entry, or together with the Multiline, Password or FileSelect flag; the combination is invalid and recorded.
ButtonValueStateMismatch Warning ISO 32000-2 §12.7.4, §12.7.5 The appearance state of a widget differs from the value of its button field, which should match; the appearance state decides what is shown.
ButtonValueUnknownState Warning ISO 32000-2 §12.7.4, §12.7.5 The value of a button field is not the on state of any of its widgets; nothing is shown as selected.
ButtonStatesAmbiguous Warning ISO 32000-2 §12.7.4, §12.7.5 A widget of a button field has more than one on state in its normal appearance; the one equal to the field value, otherwise the first, is used.
ButtonOnStateMissing Warning ISO 32000-2 §12.7.4, §12.7.5 A widget of a button field has appearance states but none other than Off, so it has no on state and cannot be shown as selected.
ButtonOptLengthMismatch Warning ISO 32000-2 §12.7.4, §12.7.5 The Opt array of a button field does not have one entry per widget in Kids; the entries are read as far as they match.
ChoiceOptionInvalid Warning ISO 32000-2 §12.7.4, §12.7.5 An element of the Opt array of a choice field is neither a text string nor a pair of them; it is read as an empty option.
ChoiceOptionsInherited Warning ISO 32000-2 §12.7.4, §12.7.5 A choice field has no Opt entry of its own, which is not inheritable; the Opt of an ancestor is used.
ChoiceValueNotInOptions Warning ISO 32000-2 §12.7.4, §12.7.5 A value of a choice field is none of its options; the value is kept as written.
ChoiceIndicesInvalid Warning ISO 32000-2 §12.7.4, §12.7.5 The I array of a choice field is not an array of integers or does not hold ascending indices into Opt; the entries that are invalid, or the whole entry, are ignored.
SignatureFieldDictNotIndirect Warning ISO 32000-2 §12.7.4, §12.7.5 A signature field entry that should be an indirect reference is a direct dictionary; it is read anyway.

Structure

Codes of StructureDiagnostics, reported under DiagnosticArea.Structure.

Code Default severity Clause Meaning and typical repair
MarkInfoInvalid Warning ISO 32000-2 §14.6 to §14.8 An entry of the MarkInfo dictionary is not a boolean; it is read as false.
StructTreeRootInvalid Warning ISO 32000-2 §14.6 to §14.8 The structure tree root is not a dictionary, has a wrong Type, or its K holds something other than structure elements; the document is read without a tree or the entry is skipped or read as the root.
StructElemInvalid Warning ISO 32000-2 §14.6 to §14.8 A K entry of a structure element is not a structure element, marked-content reference or object reference, or such a reference lacks its MCID or Obj; the entry is skipped.
StructElemTypeUnknown Warning ISO 32000-2 §14.6 to §14.8 A K entry has a missing or unexpected Type. It is read as a structure element, marked-content reference or object reference from its other entries, or skipped when it fits none.
StructElemParentMismatch Warning ISO 32000-2 §14.6 to §14.8 The P entry of a structure element is not the element or root whose K holds it; the K hierarchy is used instead.
StructElemPageMissing Warning ISO 32000-2 §14.6 to §14.8 A structure element holds marked-content IDs but has no Pg entry; the page of the nearest ancestor or the page found through the parent tree is used, or the page stays unknown.
StructTreeCycle Warning ISO 32000-2 §14.6 to §14.8 A structure element is reached twice through K, or its K holds itself or an ancestor, although the hierarchy should be a tree; the repeated occurrence is skipped.
StructTreeDepthExceeded Warning ISO 32000-2 §14.6 to §14.8 The structure hierarchy nests deeper than the supported limit; the part below the limit is not read.
ParentTreeMissing Warning ISO 32000-2 §14.6 to §14.8 The structure tree root has no ParentTree although elements have content items; content is mapped to elements by walking K instead.
ParentTreeEntryInvalid Warning ISO 32000-2 §14.6 to §14.8 A parent tree entry is missing, is not an array of elements, or names an element whose K does not hold the content item; the element is found by searching K instead.
McidDuplicate Warning ISO 32000-2 §14.6 to §14.8 One marked-content ID of a content stream is a content item of two structure elements, although IDs should be unique per stream; the first element is kept.
IdTreeDuplicate Warning ISO 32000-2 §14.6 to §14.8 Two structure elements have the same ID although IDs should be unique in the document; lookups by ID find the first.
IdTreeEntryInvalid Warning ISO 32000-2 §14.6 to §14.8 The IDTree is missing an element ID or maps an ID to a different element; lookups find the element by searching K instead.
NamespaceInvalid Warning ISO 32000-2 §14.6 to §14.8 A structure namespace dictionary has no NS text string or a wrong Type; the name reads as empty or the dictionary is read as a namespace anyway.
NamespaceNotDeclared Warning ISO 32000-2 §14.6 to §14.8 A structure element uses a namespace that is not in the Namespaces array of the structure tree root; it is used anyway.
StructureTypeUnresolved Warning ISO 32000-2 §14.6 to §14.8 A structure type does not resolve to a standard structure type through the role maps; the type is kept as written.
AttributeObjectInvalid Warning ISO 32000-2 §14.6 to §14.8 An A or C entry of a structure element holds something that is not an attribute object, revision number or class name; the entry or the element of the array is skipped or ignored.
AttributeOwnerInvalid Warning ISO 32000-2 §14.6 to §14.8 An attribute object has no owner, is owned by NSO without an NS entry, or has NS but another owner; it is read as written.
AttributeRevisionInvalid Warning ISO 32000-2 §14.6 to §14.8 A revision number in an A or C array does not follow an attribute object or class name; it is ignored.
StructureRoleConflict Information ISO 32000-2 §14.7 While appending pages, the same structure type maps to different roles in the two role maps. This is recorded only; the appended elements use a renamed type.
StructureClassConflict Information ISO 32000-2 §14.7 While appending pages, an attribute class has different attributes in the two class maps. This is recorded only; the appended elements use a renamed class.
StructureIdConflict Information ISO 32000-2 §14.7 While appending pages, an appended structure element has an ID that already exists in the document. This is recorded only; the appended element gets a new ID.
FigureAlternateTextPlaceholder Warning ISO 32000-2 §14.9.3 Automatic tagging gave a figure placeholder alternate text; it should be replaced with a description of the figure.
FigureWithoutAlternateText Warning ISO 32000-2 §14.9.3 A figure in the structure tree has no alternate text, so assistive technology has nothing to read for it.

Layout

Codes of LayoutDiagnostics, reported under DiagnosticArea.Layout.

Code Default severity Clause Meaning and typical repair
DrawingStateUnbalanced Warning ISO 32000-2 §8.4.2 Drawing content in the layout leaves the canvas unbalanced, with an unpainted path, an open text object, or unended graphics states or marked-content sequences. The layout balances it.
KeepTogetherTooTall Warning ISO 32000-2 §7.7.3.3 A group of blocks marked to stay together is taller than the body of a page. It breaks across pages.
HeadingLevelSkipped Warning ISO 32000-2 §14.8.4.3.6 A heading level is skipped, such as a level 3 heading directly after level 1. The document is built as written, which fails PDF/UA conformance.
AlternateTextLooksLikeFileName Warning ISO 32000-2 §14.9.3 The alternate text of an image looks like a file name instead of a description of the image. The text is used as given.
FontFaceMissing Warning ISO 32000-2 §9.6.2 A font family has no face for the requested weight or style. Its regular face is used and no face is synthesized.
FontNotFound Warning ISO 32000-2 §9.6.2 The font resolvers find no font with the requested family name. Helvetica, using the embedded Liberation Sans, is used instead.
CharacterNotEncodable Warning ISO 32000-2 §9.4.3 A character is in no face of the font family or its fallbacks. A question mark is drawn instead.
DocumentLanguageMissing Warning ISO 32000-2 §14.9.2 A tagged document has no language set. The document is written without one.
DocumentTitleMissing Warning ISO 32000-2 §14.3.3 A tagged document has no title set. The document is written without one.
AppendedToUntaggedDocument Warning ISO 32000-2 §14.8 Tagged pages are appended to an untagged document, so its earlier pages stay untagged. They can be tagged first with AutoTag.
DocumentMetadataKept Information ISO 32000-2 §14.3.3 Content is appended to a document that already has a title or language. The existing value is kept and the appended content's value is ignored.
AnchorNotFound Warning ISO 32000-2 §12.3.2.4 A reference names an anchor id that no block has and that is not a named destination in the document. The reference is shown as plain text.
AnchorDuplicate Warning ISO 32000-2 §12.3.2.4 Two blocks have the same anchor id. The first block keeps the id.
ForwardReferencesNotConverged Warning ISO 32000-2 §7.7.3.3 The page numbers shown by forward references still changed after the maximum number of layout passes. The last pass's numbers are shown, and some may be wrong.