ISO_14289_1:7.21.4.2-2: Embedded CID Font Has Incomplete /CIDSet Stream
This error occurs when the /CIDSet stream in an embedded CID font's FontDescriptor does not list all glyphs in the font program. It impacts screen readers like NVDA and JAWS by potentially omitting characters from accessibility parsing. Lekt fixes this deterministically with 0px visual diff via its 1-Click Safe Auto-Fix.
ISO_14289_1:7.21.4.2-2PDCIDFont1. Official Rule Definition & Machine Verification Evidence
containsFontFile == false || fontName.search(/[A-Z]{6}\+/) != 0 || containsCIDSet == false || cidSetListsAllGlyphs == trueA CIDSet entry in the Font descriptor does not correctly identify all glyphs present in the embedded font subsetroot/document[0]/pages[0](17 0 obj PDPage)/contentStream[0](18 0 obj PDSemanticContentStream)/operators[4]/font[0](XIGADL+FreeMonoBold)/DescendantFonts[0](XIGADL+FreeMonoBold)The rule (ISO 14289-1:7.21.4.2-2) requires that if a CID font's FontDescriptor includes a /CIDSet stream, it must list all CIDs present in the font program, regardless of whether they are used in the document. The test expression `containsFontFile == false || fontName.search(/[A-Z]{6}\+/) != 0 || containsCIDSet == false || cidSetListsAllGlyphs == true` evaluates to true when the /CIDSet is incomplete or missing. This is a PDF/UA-1 requirement, and the failure is often due to incomplete font subsetting during export or incorrect font embedding by authoring tools.
2. Minimal Reproducible PDF Structure (Before vs. After)
The error is triggered when a CID font's FontDescriptor includes a /CIDSet stream that does not list all glyphs in the font program. In the provided verapdf evidence, the CID font `XIGADL+FreeMonoBold` has a /CIDSet that fails to list all glyphs, as observed in the XPath `root/document[0]/pages[0](17 0 obj PDPage)/contentStream[0](18 0 obj PDSemanticContentStream)/operators[4]/font[0](XIGADL+FreeMonoBold)/DescendantFonts[0](XIGADL+FreeMonoBold)`.
17 0 obj
<<
/Type /Page
/Contents 18 0 R
/Resources <<
/Font <<
/XIGADL+FreeMonoBold 20 0 R
>>
>>
>>
endobj
20 0 obj
<<
/Type /Font
/Subtype /Type0
/BaseFont /XIGADL+FreeMonoBold
/Encoding /Identity-H
/DescendantFonts [21 0 R]
>>
endobj
21 0 obj
<<
/Type /Font
/Subtype /CIDFontType2
/BaseFont /XIGADL+FreeMonoBold
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (Identity)
/Supplement 0
>>
/CIDSet 22 0 R
>>
endobj
22 0 obj
<<
/Length 10
>>
stream
0000000000
endstream
endobj
17 0 obj
<<
/Type /Page
/Contents 18 0 R
/Resources <<
/Font <<
/XIGADL+FreeMonoBold 20 0 R
>>
>>
>>
endobj
20 0 obj
<<
/Type /Font
/Subtype /Type0
/BaseFont /XIGADL+FreeMonoBold
/Encoding /Identity-H
/DescendantFonts [21 0 R]
>>
endobj
21 0 obj
<<
/Type /Font
/Subtype /CIDFontType2
/BaseFont /XIGADL+FreeMonoBold
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (Identity)
/Supplement 0
>>
>>
endobj
3. Common Authoring Triggers & Checker Differences
When exporting to PDF/A-1 or PDF/UA-1, Acrobat may embed incomplete /CIDSet streams if the font is subsetted and the export settings do not fully respect the ISO 14289-1 requirements.
When saving as PDF, Word may embed CID fonts with incomplete /CIDSet streams if the document uses Asian or complex scripts and the export process does not fully subset the font.
When using system fonts with CID encoding and compiling to PDF/UA-1, the font subsetting process may omit the /CIDSet stream or include an incomplete one.
4. Manual Remediation Steps
In Adobe Acrobat Pro
- Open the PDF in Adobe Acrobat Pro DC.
- Go to 'File' > 'Save As Other' > 'PDF/A-1b' or 'PDF/UA-1' to re-export the document with updated font embedding.
- Verify in the 'Accessibility' panel that the /CIDSet stream is removed or updated.
In Upstream Source Tools (Word / InDesign / LaTeX)
- In Microsoft Word, go to 'File' > 'Options' > 'Save' and ensure 'Embed fonts in the file' is selected.
- In LaTeX, use the `pdfua` package and ensure that all fonts are fully embedded and not subsetted.
- Re-export the document and validate with veraPDF 1.30.4.
5. Offline Verification & Remediation in Lekt (Zero Cloud Uploads)
- Open the PDF in Lekt v1.8.2 or later.
- Run the '1-Click Safe Auto-Fix' under the 'Font' category.
- Lekt will automatically remove or update the /CIDSet stream to ensure compliance with ISO 14289-1.
Frequently Asked Questions
What is the /CIDSet stream in PDF/UA-1?
The /CIDSet stream in a CID font's FontDescriptor lists all CIDs present in the font program. It is required in PDF/UA-1 to ensure that all glyphs are accessible to assistive technologies.
Can I delete the /CIDSet stream manually?
Yes, but only if the font is not subsetted and all glyphs are present. Lekt automatically removes incomplete /CIDSet streams at 0px visual diff for PDF/UA-1 compliance.
Why does this error not appear in Adobe Acrobat?
Adobe Acrobat does not validate the /CIDSet stream against the full glyph set in the font program. veraPDF 1.30.4 enforces this requirement for PDF/UA-1 compliance.
Check & Verify ISO_14289_1:7.21.4.2-2 100% Offline
Run unlimited PDF/UA-1, PDF/UA-2, and WCAG 2.2 checks locally on macOS Apple Silicon or Windows x64 via embedded veraPDF 1.30.4 — zero FERPA/HIPAA cloud uploads, plus Free Watermarked Proof PDF export to verify 0 errors in PAC 2024 before paying.