2011年2月9日水曜日

Ubuntu 10.10でAdobe Reader日本語対応

連日だが、日本語でまたも苦しむ。PDFで日本語が表示されないのだ。既存のドキュメント・ビュアーなるもので見てたのでAdobe Readerを入れることにした。それが、またなかなか時間掛かったので、メモしておく。ちなみに結論としてはUbuntuは64ビット版だったのが、苦労の原因のよう。

まずは、Adobe Reader日本語版ダウンロードページよりダウンロードしてインストール。
http://get.adobe.com/jp/reader/
と、思ったのだが、どうも32ビット版しかないようで、入れられず。
apt-getでも当然adobereader-jpnはいれられず、acroreadを入れることにした。
# apt-get install acroread
で、日本語が表示できなかったPDFを開くと下記のメッセージ。
未だに日本語表示できず。。で、言われる通りに下記にアクセス。
http://www.adobe.com/go/acroasianfontpack
ちょっとわかりにくい…初めからこっちのAdobe Reader for Unixページに誘導してほしい。
で、「Adobe Reader 9.4 Update - Multiple Languages」かなと思い選択。
This multilingual update is available in the following language versions:
Linux®: English, French, German, and Japanese
よし、日本語も大丈夫だ。
System requirements
Linux
* 32-bit Intel® Pentium® processor or equivalent
あれ、またこれも32bitだけなのか。。と、思いつつも気にせずダウンロードしてみる!
Sorry, this page is not available
ダウンロードもできなかった。

ま、いいや。

気を取り直して、日本語対応に勤しむ。それにしても、困った。なかなか思うように進まない。
とりあえず、今度はさっきのAdobe Reader for UnixページからADD ON「Adobe Reader 9.1 Font Packs - Japanese」を選択。
System requirements
Linux
* 32-bit Intel Pentium processor or equivalent
また32bit、また気にせずダウンロード!

今度は成功したので、インストールしてしまう。
$ bzip2 -dc FontPack910_jpn_i486-linux.tar.bz2 | tar xvf -
$ cd JPNKIT
$ sudo ./INSTALL 
Welcome to the Asian Language Kit installation.
This installation will not work if you do not have the Unix Adobe Reader version 9.1 installed prior to this installation.
If you do not have Adobe Reader version 9.1 already installed on your system please do so before installing this Asian Language Kit.
Continue installation?  [y]y
The font software contained in this package is being licensed to you solely
for use with the Adobe Reader product ("Adobe Reader") subject to
the terms and conditions of the Electronic End User License Agreement
accompanying the Adobe Reader.

Please type  "accept"  to accept the terms and conditions of license agreement; Type  "decline"  to exit.  accept
Enter the location where you installed the Adobe Reader [/opt] 

Installing Common binaries ... 
Done

Installing Common resources ... 
Done

Installing Japanese language resources ... 
Done
Installation completed.
インストール完了。日本語のPDFもちゃんと見れる。
一応、これで完了したが、なんかもっとスマートな方法はありそうだなと思う。

正常に日本語が表示できるかは下記方法のPDFでも確認できる。
まず正常に表示され閲覧できるかどうか検証するため、次のURLにアクセスします
http://www.senat.co.jp/timetable/index.html
仙台空港アクセス線時刻一覧をクリックします。

- Adobe ReaderでPDFのダウンロードファイルの文字が表示されない場合があります。 -