Lekt logo Lekt
ISO_14289_1:7.21.4.2-2 Tier-1 Deterministic Auto-Fix (0px Visual Diff)

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.

veraPDF Rule ID
ISO_14289_1:7.21.4.2-2
Validated Object
PDCIDFont
Matterhorn 1.1
31-014 (Machine), 31-015 (Machine)
Validation Profiles
PDFUA-1
PDF/UA-2 Equivalent
No direct 1:1 PDF/UA-2 rule
Lekt v1.8.2 Mode
1-Click Safe Auto-Fix (v1.8.1+ /CIDSet & /CharSet Cleaner with PDF/A-1 Guard)
2026 Live .edu/.gov Benchmark Data: Observed in 47.4% of publicly hosted U.S. university & government PDFs (47.4% (36 of 76 live U.S. .edu/.gov PDFs, Dec 2026 Lekt audit)). Read the full benchmark →

1. Official Rule Definition & Machine Verification Evidence

Official veraPDF XML Definition: If the FontDescriptor dictionary of an embedded CID font contains a CIDSet stream, then it shall identify all CIDs which are present in the font program, regardless of whether a CID in the font is referenced or used by the PDF or not
Machine Test Predicate: containsFontFile == false || fontName.search(/[A-Z]{6}\+/) != 0 || containsCIDSet == false || cidSetListsAllGlyphs == true
Verbatim Error Message: A CIDSet entry in the Font descriptor does not correctly identify all glyphs present in the embedded font subset
Observed veraPDF 1.30.4 Corpus Context 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)

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)`.

Fails ISO_14289_1:7.21.4.2-2
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
Compliant PDF Structure
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

Adobe Acrobat Pro DC

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.

Microsoft Word

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.

LaTeX (with XeLaTeX or LuaLaTeX)

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.

PAC 2024 vs. Adobe Acrobat Full Check vs. veraPDF 1.30.4: Adobe PDF Accessibility Checker (PAC) 2024 and Adobe Acrobat Full Check do not natively validate the /CIDSet stream against the full glyph set in the font program. veraPDF 1.30.4, however, strictly enforces ISO 14289-1:7.21.4.2-2 by checking that the /CIDSet lists all glyphs in the font program, regardless of usage.

4. Manual Remediation Steps

In Adobe Acrobat Pro

  1. Open the PDF in Adobe Acrobat Pro DC.
  2. Go to 'File' > 'Save As Other' > 'PDF/A-1b' or 'PDF/UA-1' to re-export the document with updated font embedding.
  3. Verify in the 'Accessibility' panel that the /CIDSet stream is removed or updated.

In Upstream Source Tools (Word / InDesign / LaTeX)

  1. In Microsoft Word, go to 'File' > 'Options' > 'Save' and ensure 'Embed fonts in the file' is selected.
  2. In LaTeX, use the `pdfua` package and ensure that all fonts are fully embedded and not subsetted.
  3. Re-export the document and validate with veraPDF 1.30.4.

5. Offline Verification & Remediation in Lekt (Zero Cloud Uploads)

Honest Capability Scope (Tier-1 Deterministic Auto-Fix (0px Visual Diff)): Because /CIDSet is optional in PDF/UA-1 (ISO 14289-1) and deprecated in PDF 2.0, Lekt v1.8.2 deterministically removes stale incomplete /CIDSet streams from embedded CID FontDescriptors at 0px visual diff — automatically skipping PDF/A-1 files where /CIDSet remains mandatory.
  1. Open the PDF in Lekt v1.8.2 or later.
  2. Run the '1-Click Safe Auto-Fix' under the 'Font' category.
  3. 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.

Related PDF/UA & WCAG Error Guides