Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Japanese character is truncated

43 views
Skip to first unread message

周杰

unread,
Feb 18, 2016, 7:39:04 PM2/18/16
to dev-p...@lists.mozilla.org
Hi guys,

I have a pdf file which has Japanese and English character.

JP character is truncated when open it in FF, but it's ok when open it in Adobe PDF viewer or other pdf application.
See attachment: 1.jp-truncated-issue.jpg 
Another broken sample:


But in other pdf application, it's ok. See attachment: 2.ok-in-pdf-application.jpg

IMPORTANT:
The truncated issue only happens when both Japanese and EN character exist together in current page,
If there's only JP character in current page, it will be OK.
(the title of this pdf is ok, it only has JP charters.)
See attachment: 3.jp-without-en-is-ok.jpg
It looks like this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=857961 (It's EN character truncated issue.)
It looks like letters are top-aligned instead of being based on some baseline.
Also I found this issue: https://github.com/mozilla/pdf.js/issues/5665(Can't display Korea character.)

Steps to reproduce:
open the attachment pdf file with FF ja.
See attachments, these two sample pdf are all truncated:
4.jp-character-truncated.pdf
5.ja-truncated-another-sample.pdf
IMO, it's hard to reproduce this issue in your own PC, because it only happens in Japan OS.
We still can't reproduce this in our own EN Win7 OS, it looks like it only happen in real customer's
JP OS included win 8.1 and win 10, they installed Firefox -X86 ja .

Detail information:
  • OS version: Microsoft Windows [Version 10.0.10586] - 6.jp-os.jpg
  • FF version and pdf.js: - 7.ff-pdf-version.jpg
    • FF - Mozilla Firefox 44.0 (x86 ja)
    • pdf.js - version: 1.1.551 build-'2a5616c'
  • FF graphic info: - 8.ff-graphic.jpg (sorry for some jp charater, I capture this picture from one customer.)
Thanks in advance, if need any information, please feel free to contact me.

0 new messages