Files
pdfcraft/crates/render
mtlcl410andClaude Opus 5.5 c282f6ba33 fix(render): a ToUnicode CMap reads its mappings past a token it can't parse (hayro-cmap patch 3)
The CMap scan stopped at the first token the scanner couldn't read, so a
stray `>` after a CMap name, or a CMap name with spaces in it, ended it
before any bfchar entry: such fonts had no text to copy or find. The
scanner steps one byte past an unreadable token (hayro-postscript patch 2)
and the scan goes on, at most 1,024 times per CMap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-06 06:04:54 +08:00
..