Bug 123540 - Japanese PDF scrambled with xpdf 3.00
Summary: Japanese PDF scrambled with xpdf 3.00
Alias: None
Product: Fedora
Classification: Fedora
Component: xpdf   
(Show other bugs)
Version: 2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Ngo Than
QA Contact: Mike McLean
Keywords: i18n
Depends On:
TreeView+ depends on / blocked
Reported: 2004-05-19 08:00 UTC by Nakai
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-06-24 16:51:07 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
F*ck'n easy Japanese pdf - but xpdf fails to show (3.75 KB, application/pdf)
2004-05-19 08:01 UTC, Nakai
no flags Details
screenshot of samle-orig.pdf before patch (10.07 KB, image/png)
2004-05-19 08:03 UTC, Nakai
no flags Details
screenshot of sample-orig.pdf: after patch (23.44 KB, image/png)
2004-05-19 08:04 UTC, Nakai
no flags Details
diff for /etc/xpdfrc.ja (524 bytes, patch)
2004-05-19 08:11 UTC, Nakai
no flags Details | Diff

Description Nakai 2004-05-19 08:00:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
The current xpdf rpm package in Fedora has
serious mistake that it can show
font embedded Japanese pdf file but cannot show
Japanese pdf without font inside.

This patch
fixes CID->GID mapping fontCIDType2, which is the CID font format
with TrueType wrapped inside with dictionary.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Open Japanese PDF with xpdf
2. No string...

Actual Results:  No string

Expected Results:  Actual Japanese string.

Additional info:

This patch is not Japanese specific so should not break other

And you need to delete displayFontX line and add the line
displayCIDFontTT Adobe-Japan1
in /etc/xpdfrc.ja.

Korean and Chinese are supposed to have that problem too
and it'll be fixed samely.

Comment 1 Nakai 2004-05-19 08:01:14 UTC
Created attachment 100319 [details]
F*ck'n easy Japanese pdf - but xpdf fails to show

Comment 2 Nakai 2004-05-19 08:03:57 UTC
Created attachment 100320 [details]
screenshot of samle-orig.pdf before patch

Comment 3 Nakai 2004-05-19 08:04:26 UTC
Created attachment 100321 [details]
screenshot of sample-orig.pdf: after patch

Comment 4 Nakai 2004-05-19 08:11:31 UTC
Created attachment 100322 [details]
diff for /etc/xpdfrc.ja

Comment 5 Ngo Than 2004-05-19 08:55:21 UTC
Yukihiro, could you attach a test pdf file for testing please? Thanks

Comment 6 Leon Ho 2004-06-03 01:15:16 UTC
Comment 1 has a test pdf. Let me know if you need more. Cheers

Comment 7 Ngo Than 2004-06-24 16:51:07 UTC
i already added the patch into xpdf-3.00-5, it will show up in fc3
tree soon.

Please test it again if this problem is fixed. Thanks

Note You need to log in before you can comment on or make changes to this bug.