Mailing List Archive


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

Re: [tlug] Japanese PDF files in xpdf 3.0



>>>>> "Michael" == Michael Reinsch <mr@example.com> writes:

    Michael> I'm trying to view some Japanese PDF files using xpdf,
    Michael> but I could not convince it to show any Japanese
    Michael> character.

I don't have a problem with Xpdf 3.00 on the test file at
http://turnbull.sk.tsukuba.ac.jp/outgoing/test-jp.pdf.  I believe that
it embeds the needed fonts.  But that would at least show whether you
can display Japanese at all, or if the problem is finding the Japanese
fonts on your system.

On my system dpkg -l 'xpdf*' sez:

ii  xpdf           3.00-13        Portable Document Format (PDF) suite
ii  xpdf-common    3.00-13        Portable Document Format (PDF) suite -- comm
ii  xpdf-japanese  20040727-1     Portable Document Format (PDF) suite -- Japa
ii  xpdf-reader    3.00-13        Portable Document Format (PDF) suite -- view
ii  xpdf-utils     3.00-13        Portable Document Format (PDF) suite -- util

Maybe you need some additional support files?  I can give you the full
contents of /etc/xpdf/xpdfrc-japanese on request, but it looks like
you might need some of the following in your xpdfrc:

cidToUnicode    Adobe-Japan1    /usr/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
unicodeMap      ISO-2022-JP     /usr/share/xpdf/japanese/ISO-2022-JP.unicodeMap
unicodeMap      EUC-JP          /usr/share/xpdf/japanese/EUC-JP.unicodeMap
unicodeMap      Shift-JIS       /usr/share/xpdf/japanese/Shift-JIS.unicodeMap
cMapDir         Adobe-Japan1    /usr/share/fonts/cmap/adobe-japan1
toUnicodeDir                    /usr/share/fonts/cmap/adobe-japan1

Also, the xpdf-japanese package provides the following list of files,
many of which are probably irrelevant:

/etc/xpdf/xpdfrc-japanese
/usr/share/doc/xpdf-japanese
/usr/share/doc/xpdf-japanese/README
/usr/share/doc/xpdf-japanese/copyright
/usr/share/doc/xpdf-japanese/changelog.Debian.gz
/usr/share/xpdf/japanese
/usr/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
/usr/share/xpdf/japanese/EUC-JP.unicodeMap
/usr/share/xpdf/japanese/ISO-2022-JP.unicodeMap
/usr/share/xpdf/japanese/Shift-JIS.unicodeMap
/usr/share/fonts/cmap/adobe-japan1/90ms-RKSJ-UCS2
/usr/share/fonts/cmap/adobe-japan1/90pv-RKSJ-UCS2
/usr/share/fonts/cmap/adobe-japan1/90pv-RKSJ-UCS2C
/usr/share/fonts/cmap/adobe-japan1/Adobe-Japan1-UCS2
/usr/share/fonts/cmap/adobe-japan1/UniJIS-UTF16-H
/usr/share/fonts/cmap/adobe-japan1/UniJIS-UTF16-V
/usr/share/fonts/cmap/adobe-japan1/UniJIS-UTF8-H
/usr/share/fonts/cmap/adobe-japan1/UniJIS-UTF8-V


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links