GNU Ghostscript 7.07 の日本語表示について。

名前: yuu
日時: 2005-02-22 06:16:22
IPアドレス: 64.12.117.*

プレゼン用に prosper を使おうと思い、GNU Ghostscript 7.07 を インストールしたのですが、英語は表示できますが、日本語がどうしてもうまくいきません。 とりあえず大友さんのページを参考にしたのですが、できなかったので いろんなところで調べていじりまくったのですが、やはりだめでした。 GNU Ghostscript 7.07は C:\gs にインストールし、 Resource ディレクトリを C:\gs\gs7.07 に作っています。 あとCIDフォントとして東風代替フォント(kochi-gothic-subst.ttf と kochi-mincho-subst.ttf)を入れようとしています。 aj16.tar.Z から出てくるファイルも C:\gs\gs7.07\Resource\CMap のなかに 入れてみました。 gs_res.ps の書き換えるところは下のようにしました。 /FontResourceDir (c:/gs/gs7.07/Resource/CIDFont/) /GenericResourceDir (c:/gs/gs7.07/Resource/) 環境変数、パスの方はちゃんと通っているつもりです。 OSはWINDOWS XPです。 で、大友さんのページにあったチェック用のコマンドを実行したところ、 次のようなエラーが出てきました。 >C:\gs\gs7.07\bin\gswin32c.exe C:\gs\gs7.07\examples\cjk\gscjk_aj.ps GNU Ghostscript 7.07 (2003-05-17) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. ------------------------------------------------------------------------ This is a script to test CJK fonts such as CID-keyed fonts. If you have not done CID-keyed fonts installation and definitions at /Resource/CMap and CIDFnmap or /Resource/CIDFont of ghostscript, then this script can't work correctly. For details, please see README at http://www.gyve.org/gs-cjk/supplement. If you throw this script into a printer, it requires PostScript 3 printer and CID-keyed fonts specified in this script. ------------------------------------------------------------------------ Loading NimbusMonL-Regu font from C:/gs/fonts/n022003l.pfb... 2055200 692222 164 2624 352946 0 done. >>showpage, press <return> to continue<< quit Error: /rangecheck in --cvs-- Operand stack: Ryumin-Light-RKSJ-V Ryumin-Light-RKSJ-V Font (Ryumin-Light-RKSJ-V) 12 Ryumin-Light RKSJ-V RKSJ-V --dict:0/10(G)-- --dict:0/10(G)-- () Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringva l-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1064/1123(ro)(G)-- --dict:0/20(G)-- --dict:76/200(L)-- --dict:5/ 5(L)-- Current allocation mode is local Current file position is 2346 GNU Ghostscript 7.07: Unrecoverable error, exit code 1 となり、ps ファイルは開けませんでした。 で、CIDFnmap ファイルを /Ryumin-Light (kochi-mincho-subst.ttf) ; /GothicBBB-Medium (/kochi-gothic-subst.ttf) ; /HeiseiMin-W3 (/kochi-mincho-subst.ttf) ; /HeiseiKakuGo-W5 (/kochi-gothic-subst.ttf) ; にしてやると、次のような少しはましなエラーになり、日本語部分だけ 文字化けしたps ファイルが開きました。日本語のフォントが見つからない、 と言ってるのは分かるのですが・・・。 フォントファイルの置き方やCMapフォルダに何を入れたらいいのかとかが よくわからないので色々と試行錯誤しましたが、限界でしたので 何かアドバイスをしていただきたいと思います。 よろしくお願いします。 (初めの10行ほどは同じ文) ------------------------------------------------------------------------ Loading NimbusMonL-Regu font from C:/gs/fonts/n022003l.pfb... 2055200 692124 164 2624 352791 0 done. Can't find (or can't open) font file c:/gs/gs7.07/Resource/CIDFont/RKSJ-V. Can't find (or can't open) font file RKSJ-V. Substituting font Courier for RKSJ-V. Can't find (or can't open) font file c:/gs/gs7.07/Resource/CIDFont/RKSJ-H. Can't find (or can't open) font file RKSJ-H. Substituting font Courier for RKSJ-H. Can't find (or can't open) font file c:/gs/gs7.07/Resource/CIDFont/RKSJ-V. Can't find (or can't open) font file RKSJ-V. Substituting font Courier for RKSJ-V. Can't find (or can't open) font file c:/gs/gs7.07/Resource/CIDFont/RKSJ-H. Can't find (or can't open) font file RKSJ-H. Substituting font Courier for RKSJ-H. Can't find (or can't open) font file c:/gs/gs7.07/Resource/CIDFont/RKSJ-H. Can't find (or can't open) font file RKSJ-H. Substituting font Courier for RKSJ-H. Can't find (or can't open) font file c:/gs/gs7.07/Resource/CIDFont/RKSJ-H. Can't find (or can't open) font file RKSJ-H. Substituting font Courier for RKSJ-H. Loading NimbusRomNo9L-Regu font from C:/gs/fonts/n021003l.pfb... 2212560 810700 1682816 342020 0 done. >>showpage, press <return> to continue<<

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)