[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



Hi,

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.

To explain clearly, we cannot display fonts that are not embedded in
the displayed PDF file, although we have no problems viewing PDF files
in which CJK fonts are embedded.

# I don't know which is the majority, whether embedding fonts in PDF
# files or not, but I usually do not embed fonts when creating PDF
# files with pLaTeX + dvipdfmx. ;-)

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
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.

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

Is this explanation comprehensible to you, Jens?

Many thanks,

-nori



Reply to: