============================================================= DeviceGray colour space is used without output intent profile ============================================================= .. contents:: :depth: 2 -------------- Classification -------------- .. list-table:: :align: center * - **Validator** - **Validator version** - **Error message type** * - veraPDF - 1.28.2 - .. list-table:: :align: center * - **File format** - **Version** - **Specification** - **Description** - **Location** * - application/pdf - 1.4 - - - `OPF format-corpus `__ * - application/pdf - 1.6 - - Govdocs1 set - `OPF format-corpus `__ * - application/pdf - 1.4 - - - `OPF format-corpus `__ -------- Analyses -------- ------------------ Possible solutions ------------------ .. contents:: :local: -------------- Output example -------------- :: /corpus/format-corpus/pdf-handbuilt-test-corpus/T02-05-01_017_bytes-between-endstream-endobj.pdf
The font programs for all fonts used within a conforming file shall be embedded within that file, as defined in PDF Reference 5.8, except when the fonts are used exclusively with text rendering mode 3 PDFont Subtype == "Type3" || Subtype == "Type0" || renderingMode == 3 || containsFontFile == true root/document[0]/pages[0](2 0 obj PDPage)/contentStream[0]/operators[3]/font[0](Times-Italic) The font program is not embedded The document catalog dictionary of a conforming file shall contain the Metadata key. The metadata stream dictionary shall contain entry Type with value /Metadata and entry Subtype with value /XML PDDocument containsMetadata == true root/document[0] The document catalog dictionary doesn't contain metadata key or metadata stream dictionary does not contain either entry Type with value /Metadata or entry Subtype with value /XML The file trailer dictionary shall contain the ID keyword. The file trailer referred to is either the last trailer dictionary in a PDF file, as described in PDF Reference 3.4.4 and 3.4.5, or the first page trailer in a linearized PDF file, as described in PDF Reference F.2 CosDocument (isLinearized == true) ? (firstPageID != null) : (lastID != null) root Missing ID in the document trailer The % character of the file header shall occur at byte offset 0 of the file. The first line of a PDF file is a header identifying the version of the PDF specification to which the file conforms CosDocument headerOffset == 0 && /%PDF-\d\.\d/.test(header) root File header %PDF-1.4 (offset = 1) starts at non-zero offset or does not match the pattern %PDF-n.m The object number and generation number shall be separated by a single white-space character. The generation number and obj keyword shall be separated by a single white-space character. The object number and endobj keyword shall each be preceded by an EOL marker. The obj and endobj keywords shall each be followed by an EOL marker CosIndirect spacingCompliesPDFA root/indirectObjects[0](5 0) Extra spacings or missing EOL characters around indirect object/generation number or keywords 'obj' and 'endobj' root/indirectObjects[1](4 0) Extra spacings or missing EOL characters around indirect object/generation number or keywords 'obj' and 'endobj' root/indirectObjects[2](3 0) Extra spacings or missing EOL characters around indirect object/generation number or keywords 'obj' and 'endobj' root/indirectObjects[3](2 0) Extra spacings or missing EOL characters around indirect object/generation number or keywords 'obj' and 'endobj' root/indirectObjects[4](1 0) Extra spacings or missing EOL characters around indirect object/generation number or keywords 'obj' and 'endobj' The value of the Length key specified in the stream dictionary shall match the number of bytes in the file following the LINE FEED character after the stream keyword and preceding the EOL marker before the endstream keyword CosStream Length == realLength root/indirectObjects[1](4 0)/directObject[0] Actual length of the stream (63 byte(s)) does not match the value of the Length key in the Stream dictionary (68 byte(s)) If an uncalibrated colour space is used in a file then that file shall contain a PDF/A-1 OutputIntent, as defined in 6.2.2 PDDeviceGray gOutputCS != null root/document[0]/pages[0](2 0 obj PDPage)/contentStream[0]/operators[3]/fillCS[0] DeviceGray colour space is used without output intent profile
00:00:00.903
1 0 0 00:00:01.146
MIME type (:unav) with version (:unav) is not supported. ------------------ Notes on the error ------------------ ------------------------------ Related errors by source files ------------------------------ :: Ghostscript: Incorrect /Length for stream object Ghostscript: startxref offset invalid Ghostscript: xref table was repaired JHOVE: Invalid cross-reference table JHOVE: No document catalog dictionary veraPDF: A CIDSet entry in the Font descriptor is missing or does not correctly identify all glyphs present in the embedded font subset and used for rendering veraPDF: Actual length of the stream (.* byte(s)) does not match the value of the Length key in the Stream dictionary (.* byte(s)) veraPDF: Annotation flags are either missing or set the annotation to be hidden/invisible or non-printable (F = null, Print = null, Hidden = null, Invisible = null, NoView = null) veraPDF: Annotation.s color (C present = true) or interior color (IC present = false) is used without specifying RGB-based destination output profile veraPDF: A property is either not defined in XMP Specification, or is not defined in any of the extension schemas veraPDF: DeviceGray colour space is used without output intent profile veraPDF: Extra spacings or missing EOL characters around indirect object/generation number or keywords 'obj' and 'endobj' veraPDF: File header .*%PDF-*.* (offset = .*) starts at non-zero offset or does not match the pattern %PDF-n.m veraPDF: Missing ID in the document trailer veraPDF: Real value .* out of range veraPDF: The document catalog dictionary doesn't contain metadata key or metadata stream dictionary does not contain either entry Type with value /Metadata or entry Subtype with value /XML veraPDF: The font program is not embedded veraPDF: XMP property does not correspond to type null Notice: any operation suggested on this page should be carefully considered before use, as this article is in continuous development.