PDF export fidelity, specifically the `ToUnicode` CMap generation, leading to garbled text extraction and syntax warnings in `deckcraft`.
Raw Developer Origin & Technical Request
GitHub Issue
Oct 11, 2026
**Environment:** deckcraft-cli 0.5.0, macOS universal zip, Apple silicon. Source read at `main` (be14248), where `crates/pdf/src/lib.rs` has the same code.
## What happens
The PDF export writes a `ToUnicode` CMap in which the first glyph of some text runs maps to the run's entire text, and the other glyphs of that run map to nothing. poppler rejects the over-long entries and text extraction garbles.
```
$ deckcraft-cli convert deck.pptx deck.pdf
$ pdftotext -f 1 -l 1 deck.pdf -
Syntax Warning: Illegal entry in bfchar block in ToUnicode CMap
Syntax Warning: Illegal entry in bfchar block in ToUnicode CMap
...
```
pypdf's `extract_text()` on page 1 gives, for a subtitle that reads "Choosing the right transport for next-generation flash storage":
```
Choosing the right transport for next-generation flash storage\x02oosing t\x02e rig\x02t transport for ne\x0ft-genera\x11on \x12as\x02 storage
```
The first glyph (code 1, the "C") expands to the whole sentence, then the remaining glyphs follow with "h" (code 2) and a few others unmapped.
The CMap for that font (`CFYZAH+Carlito-Regular`) contains, among 67 otherwise normal one-character entries:
```
(62 characters)
("Buffer-to-buffer credits mean a sender")
...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from storytold/deckcraft.
Frequently Asked Questions
Market intelligence mapped to PDF export fidelity, specifically the `ToUnicode` CMap generation, leading to garbled text extraction and syntax warnings in `deckcraft`..
What is the technical positioning of PDF export fidelity, specifically the `ToUnicode` CMap generation, leading to garbled text extraction and syntax warnings in `deckcraft`.?
How is the developer community reacting to PDF export fidelity, specifically the `ToUnicode` CMap generation, leading to garbled text extraction and syntax warnings in `deckcraft`.?
Which technical concepts are associated with PDF export fidelity, specifically the `ToUnicode` CMap generation, leading to garbled text extraction and syntax warnings in `deckcraft`.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like Apple silicon and deckcraft-cli by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics