[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#500132: [release-notes] [l10n] CJK users need to install poppler-data (non-free) package to view PDF files with evince or so

On Fri, Sep 26, 2008 at 04:58:13PM +0900, Noritada Kobayashi wrote:
> 2008/9/26 Hideki Yamane <henrich@debian.or.jp>:
> > On Thu, 25 Sep 2008 17:57:07 +0200
> > Jens Seidel <jensseidel@users.sf.net> wrote:
> >> Please explain in more detail. I have no problem viewing
> >> /usr/share/doc/Debian/quick-reference/quick-reference.ja.pdf.gz
> >> using evince 2.22.2-2 without poppler-data. Also xpdf, ... works well.
> >
> >  Most of PDF files are not able to view without poppler-data.

Ah, this "most" was missing in your initial mail. 

I remember about the thread on debian-devel some months ago and it
confused me too as I was able to view a few documents.

> To explain clearly, we cannot display fonts that are not embedded in

we == evince
we == Asian people???

> the displayed PDF file, although we have no problems viewing PDF files
> in which CJK fonts are embedded.


> This is basically due to the Adobe CMAP issue that CMAP files for
> PS/PDF are not approved to be modified (and thus cannot be included in
> the "main" section in Debian).  This issue is problematic for (at

So there is a license problem. Isn't it strange that xpdf is able to
display the mentioned PDF file? Yep, it outputs
Error: Unknown character collection 'Adobe-Japan1'
but most (all?) glyphs are readable!

> least) Japanese users for around ten years (sigh...) and we work
> around the issue by additionally installing
> cmap-adobe-{cns1,gb1,japan1,japan2,korea1}, gs-cjk-resource, and
> xpdf-japanese for viewing PS/PDF files.

I don't have any of these packages installed in my Lenny system ...
(But I have KDE4 packages from experimental, maybe this includes free
font replacements?)

> Poppler, which is based on Xpdf, used to read CMAP files from the same
> place as Xpdf did.  So, we need only above packages to display CJK
> fonts using Poppler.  In recent versions, however, Poppler reads CMAPs
> from its own path.  So, we must additionally install poppler-data
> which installs CMAPs for Poppler.

I also have poppler-data not installed.

> # I think it would be better to make Xpdf and Poppler share CMAP files
> # again, but at least we have no time for lenny. ;-)

Where does the the fonts used by xpdf come from? Does xpdf replace not found
commercial fonts with free ones? If yes, than evince should do it as

According to strace xpdf opens /usr/lib/libfreetype.so.6, all other
opened files are probably less relevant.

> Is this explanation comprehensible to you, Jens?

Related to this bug report, yes, it is. Thanks for the explanations.

I'm nevertheless curious why xpdf has no (obvious) problems.


Reply to: