Closed Bug 833676 Opened 11 years ago Closed 11 years ago

pdf.js: Missing text problems in some Japanese PDFs

Categories

(Firefox :: PDF Viewer, defect, P2)

19 Branch
x86
Windows Vista
defect

Tracking

()

RESOLVED FIXED
Firefox 22

People

(Reporter: rshimazu, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-rendering][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/2606)

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130109111322

Steps to reproduce:

I accessed to the following PDFs with Firefox 19 beta1 with PDF.js 0.7.82

http://www.he.tohoku.ac.jp/SJLE/JLPK/guide.pdf#page=3
http://www.cals.pref.mie.jp/info/jre_memory.pdf
http://www.oracle.com/technetwork/jp/ondemand/java/id-000830-330948-ja.pdf#page=3
http://www.cyberagentfx.jp/gaikaex/pdf/javauninstall-7.pdf
http://www.iischool.net/pdf/javaenv.pdf#page=2



Actual results:

Some ascill characters(a-zA-Z0-9) does not appear at all in Japanese texts.
They are just missing from the document.


Expected results:

Not only Japanese characters but also english characters should appear.
Component: Untriaged → PDF Viewer
I can reproduce
http://hg.mozilla.org/mozilla-central/rev/98ea4d294369
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130124 Firefox/21.0 ID:20130124054158
Status: UNCONFIRMED → NEW
Ever confirmed: true
[16:28:29.848] Warning: The FontDescriptor's FontName is "TimesNewRoman" but should be the same as the Font's BaseFont "TimesNewRomanPSMT"
[16:28:30.076] Warning: Switching TrueType encoding to MacRomanEncoding for VVQREY+MS-PGothic font
[16:28:30.122] Warning: The FontDescriptor's FontName is "Arial" but should be the same as the Font's BaseFont "ArialMT"
Priority: -- → P2
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-encoding-mac]
Additonal examples are:

http://www.sapid.org/html2/PDF-ja/ohkubo-SS04.pdf
http://www.eiken.or.jp/flow/pdf/ichiji.pdf
http://www.jimin.jp/policy/pamphlet/pdf/kenpou_qa.pdf#page=10

Japanese texts are invisible with Firefox 19 beta3 with pdf.js 0.7.107.
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-encoding-mac] → [pdfjs-c-rendering][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/2606
javauninstall-7.pdf: Fixed by #2875.
ohkubo-SS04.pdf: Fixed by #2866.
ichiji.pdf: Fixed by #2877.
Status: NEW → RESOLVED
Closed: 11 years ago
Depends on: 835954, 848641
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
Mozilla/5.0 (Windows NT 6.0; rv:23.0) Gecko/20130428 Firefox/23.0

Verified as fixed on Firefox latest nightly (Build ID:20130428031010).
You need to log in before you can comment on or make changes to this bug.