mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 09:33:45 +00:00
A CID CFF program whose subsetter emptied the font dicts no kept glyph uses (no Private DICT) dropped the whole font: CffFontBlob collected its subfonts with `collect::<Option<Vec<_>>>()?`. The subfonts are now kept as `Option`s; a glyph whose font dict can't be read is missing, the rest draw. The program is still refused when no font dict is usable. ISO 32000-2 §9.7.4.2, §9.9 Table 124; Adobe TN #5176 (FDArray, FDSelect, Private DICT). PDFBOX-5843 (13069603-123.pdf) now matches PDFium, MuPDF and Poppler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA