gjTool / pdfh5

web/h5/移动端PDF预览插件
https://www.gjtool.cn/pdfh5/pdf.html
MIT License
958 stars 239 forks source link

有人遇到这个问题吗,pdf上面有一些字显示不出来Warning: Setting up fake worker. pdf.worker.js:22 Warning: loadFont - translateFont failed: "FormatError: unexpected EOF in bcmap". pdf.js:22 Warning: Error during font loading: unexpected EOF in bcmap #173

Open ChYuanJinlin opened 11 months ago

ChYuanJinlin commented 11 months ago

Warning: Setting up fake worker. pdf.worker.js:22 Warning: loadFont - translateFont failed: "FormatError: unexpected EOF in bcmap". pdf.js:22 Warning: Error during font loading: unexpected EOF in bcmap

yyq914828jzg commented 10 months ago

解决了吗

ChYuanJinlin commented 10 months ago

解决了

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年11月2日(星期四) 下午3:12 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [gjTool/pdfh5] 有人遇到这个问题吗,pdf上面有一些字显示不出来Warning: Setting up fake worker. pdf.worker.js:22 Warning: loadFont - translateFont failed: "FormatError: unexpected EOF in bcmap". pdf.js:22 Warning: Error during font loading: unexpected EOF in bcmap (Issue #173)

解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yyq914828jzg commented 10 months ago

咋解决的呀

ChYuanJinlin commented 10 months ago

@.***/cmaps/",cMapPacked:true

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年11月2日(星期四) 下午3:24 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [gjTool/pdfh5] 有人遇到这个问题吗,pdf上面有一些字显示不出来Warning: Setting up fake worker. pdf.worker.js:22 Warning: loadFont - translateFont failed: "FormatError: unexpected EOF in bcmap". pdf.js:22 Warning: Error during font loading: unexpected EOF in bcmap (Issue #173)

咋解决的呀

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

KappaFish0914 commented 10 months ago

cMapPacked

没看懂,能不能解释一下,有具体的修改方法吗?

chinazhangxiansen commented 4 months ago

https://blog.csdn.net/gentleman_hua/article/details/126579762?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-1-126579762-blog-107372997.235%5Ev43%5Epc_blog_bottom_relevance_base4&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-1-126579762-blog-107372997.235%5Ev43%5Epc_blog_bottom_relevance_base4