Bug 127257 - kpdf: fails to display 16-bit TrueType fonts (such as Japanese).
Summary: kpdf: fails to display 16-bit TrueType fonts (such as Japanese).
Status: RESOLVED FIXED
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-13 15:30 UTC by Pierre Habouzit
Modified: 2006-09-26 11:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
07_kpdf-patched.diff (3.81 KB, patch)
2006-05-13 15:31 UTC, Pierre Habouzit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Habouzit 2006-05-13 15:30:24 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Debian testing/unstable Packages

From debian bug http://bugs.debian.org/280791 (still present in 3.5.2)
=============================================

From: "MIZUNO, Haru-Yuki" <sgp03232 AT nifty.com>


Kpdf fails to display PDF files that contain Japanese charactors; the
pages shown looks cryptographic because of wrong handling of 16-bit
TrueType fonts.  While, with xpdf, they are OK to be viewed.

This is because xpdf portion of kpdf is not well-patched, even though
the xpdf package has been already patched.  (As for xpdf's patch,
see the changelog of xpdf 3.00-3 at
http://packages.debian.org/changelogs/pool/main/x/xpdf/xpdf_3.00-3/changelog .
You'll see Hamish has added "upstream patch to fix handling of 16-bit
TrueType fonts".)

Enclosed is a file of collective patches extracted from Debian's xpdf
package.

Notice that the patch file contains the one that fixes another bug of
kpdf's; a fix for possible crash of kpdf caused by calling FreeType's
FT_Decompose_Outline with a non-outline object.  (As for this bug, see
BTS #254864 and, as well, the changelog of xpdf 3.00-8 at 
http://packages.debian.org/changelogs/pool/main/x/xpdf/xpdf_3.00-8/changelog
for more detail.)

The PDF files with which I've examined the patches are:
 (1) http://www.firstserver.co.jp/pdf/news041015.pdf
 (2) http://www.hatena.ne.jp/tools/041023_revised_rules.pdf
(both are Japanese)

Thank you for your attention.

Regards,
Haru
Comment 1 Pierre Habouzit 2006-05-13 15:31:43 UTC
Created attachment 16066 [details]
07_kpdf-patched.diff
Comment 2 Albert Astals Cid 2006-09-26 11:55:28 UTC
That patches are already there in kpdf since time ago.