Files
DeepTutor/web/components
LaiYongqiang c446acade0 fix(web): pass cMapUrl so CID fonts are not dropped
Released builds ship only public/pdfjs/wasm and pass just wasmUrl to
getDocument, so PDF.js cannot translate any font that depends on a
predefined CMap. Those fonts (Adobe-GB1/Japan1/Korea1, i.e. most CJK
documents) are then dropped entirely: no glyphs are painted and no text
items are produced, so headings disappear while their line height stays
reserved, and the affected runs cannot be selected, copied or searched.

Copy pdfjs-dist/cmaps next to the decoder assets, expose pdfjsCMapUrl()
and pass cMapUrl + cMapPacked.

Refs #2055
2026-10-26 16:24:32 +08:00
..
2026-09-21 02:30:40 +08:00
2026-08-20 14:15:53 +08:00
2026-06-11 20:03:34 +08:00