mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-01 15:51:00 +02:00
It fixes #7625. If the Top DICT's Private DICT extends past the end of the font data, the Local Subrs INDEX is unreachable and every CharString that calls a subr ends up as a blank glyph. Throw from parsePrivateDict so the existing catch in translateFont triggers fallbackToSystemFont, then run getFontSubstitution post-construction so we pick a close local match instead of the generic fallbackName.
2 lines
89 B
SYSTEMD
2 lines
89 B
SYSTEMD
https://github.com/mozilla/pdf.js/files/467169/Er.aestetik.en.loftestang.for.laering.pdf
|