Files
vectorcraft/crates
jmvergesandClaude Opus 5.5 51ce7e9b9d pdf: page widths: a ToUnicode map that can't be read gives no widths
A simple font in `WinAnsiEncoding` whose `ToUnicode` map was left
unread (past the size limits, or not a map at all) took its characters
from the encoding, as a font without a map does, so a code the map gives
another character lent its width to the encoding's. Only a font with no
`ToUnicode` entry now falls back to its encoding; one whose map can't be
read gives no widths.

Test `a_to_unicode_map_that_cant_be_read_gives_no_widths`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:42:44 +00:00
..
…