You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A CIDFontType0 or CIDFontType2 font without an embedded program asks the font resolver chain for a substitute and maps each CID through the collection's CID-to-Unicode table to a glyph in that substitute, so non-embedded CJK text gets glyphs instead of glyph 0. PDF widths keep driving positions.
New corpus file text-cid-nonembedded.pdf (Adobe-Japan1, a few kana and kanji) yields non-zero glyph ids from a test-built system font, with the information diagnostic for substitution.
Without the CMaps package the font records the existing package-missing diagnostic and keeps CID-as-GID behaviour; strict mode does not throw.
Identity-ordering fonts with no CID-to-Unicode table fall back to the substitute's own cmap through ToUnicode when present.
The real-world content gate allowlist and snapshots are re-triaged for the new diagnostic counts.
Blocked by
None — can start immediately
Deliverables (every ticket)
Tests through the public seam (see the spec's Testing Decisions)
XML docs citing clauses on public types
Conformance map rows updated in the same PR
PublicAPI.Unshipped.txt updated
Fuzz target and benchmark where the ticket adds a parser, codec or hot path
Done by PR #83's review fix pass: non-embedded CIDFontType0/2 fonts now go through the font resolver chain (PdfCidFont.Substitute, CidFontSubstitutionTests), with CID→Unicode→substitute cmap glyph selection and a diagnostic when nothing is found. The two leftover pieces (a dedicated corpus file and the Identity-ordering ToUnicode fallback) are carried into #93.
Activity
michaelstonis commentedon Oct 10, 2026
Done by PR #83's review fix pass: non-embedded CIDFontType0/2 fonts now go through the font resolver chain (
PdfCidFont.Substitute,CidFontSubstitutionTests), with CID→Unicode→substitute cmap glyph selection and a diagnostic when nothing is found. The two leftover pieces (a dedicated corpus file and the Identity-ordering ToUnicode fallback) are carried into #93.