mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.34k stars 9.97k forks source link

Some Japanese characters do not render #8570

Closed tonyjin closed 7 years ago

tonyjin commented 7 years ago

Link to PDF file (or attach file here): boxViewerで平仮名カタカナ句読点が抜けるPDF_Chrome印刷でPDF (1).pdf

Configuration:

Steps to reproduce the problem:

  1. Go to pdf.js web viewer demo (https://mozilla.github.io/pdf.js/web/viewer.html)
  2. View attached PDF

What is the expected behavior? (add screenshot) Should look like printed version of website: https://www.konicaminolta.jp/about/research/future/3dlr/

What went wrong? (add screenshot) Only Chinese characters show 2017-06-23_11-27-23

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): https://mozilla.github.io/pdf.js/web/viewer.html

Additional notes: Re-printing the web page as PDF seems to work in some situations in pdf.js, but the attached file does render properly in Mac Preview & Chrome's PDF viewer - is there a missing cmap or something?

tonyjin commented 7 years ago

Confirmed fix on my end. Thanks @brendandahl @Snuffleupagus!

DILEEPKUMAREBIX commented 4 years ago

Japanese characters are not loading in IE browser with latest pdfjs-2.6.347-es5-dist.

Where as same PDF displaying good in all other browser including EDGE.

Getting below warning message in console.

PDF 9a16c1e2adbc4e44af1ed7dedb359d9d [1.4 Adobe PDF Library 10.0 / Acrobat PDFMaker 10.1 for Word] (PDF.js: 2.6.347) Warning: Load test font never loaded. Warning: Load test font never loaded.

Chrome: image

IE: image

THausherr commented 4 years ago

You're posting to a closed issue. Please open a new one and include your PDF.