mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-05-31 23:31:02 +02:00
When a CIDFontType0 descendant has its program in a FontFile3 stream with /Subtype /OpenType, the OTF wrapper sometimes lacks a usable cmap and the CID→GID mapping only exists inside the embedded CFF itself. In that case the OpenType-table path produces wrong glyphs, so route the font through CFFFont and let it consume the inner CFF directly. The file has been found in https://issues.chromium.org/issues/471404119.
3.2 KiB
3.2 KiB