Ghostscript と日本語、gscjk_aj.ps

名前: 田辺行人
日時: 2002-12-19 09:08:43
IPアドレス: 219.98.101.*

奥村 勝彦 様 前略 http://www.matusaka-u.ac.jp/~okumura/texfaq/install-win32.html にある「Windows へのインストール」に従って、Ghostscript7.05 と GSview4.2 で、日本語を扱う設定をし、gscjk_aj.ps を表示させよう としましたが、うまく行かず、下記の error message が出ます。 お忙しいところ、誠に申し訳ありませんが、どうしたらよいかお教え 頂ければ幸いです。 草々 田辺行人 ystanabe@td6.so-net.ne.jp GSview 4.2 2002-02-07 Unknown in Comments section at line 4: %%Copyright: (C) 2001 Taiji Yamada and gs-cjk project Unknown in Comments section at line 5: %%+ This script is part of GNU Ghostscript and is distributed under Unknown in Comments section at line 6: %%+ the terms of the GNU General Public License. See the file COPYING Unknown in Comments section at line 7: %%+ for more information. GNU Ghostscript 7.05 (2002-04-22) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Displaying DSC file C:/gs/gs7.05/examples/cjk/gscjk_aj.ps without pages ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ Scanning c:\resource\cidfont for fonts... 9 files, 9 scanned, 8 new fonts. Loading NimbusMonL-Regu font from C:\gs\fonts/n022003l.pfb... 2018952 648455 1662720 369567 0 done. 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-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1056/1123(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- --dict:5/5(L)-- Current allocation mode is local --- Begin offending input --- ho-n { dup type /stringtype ne { dup length string cvs } if show } def /*echo { *echo-n /*y *y 11 sub def 50 *y moveto } def /*close { grestore } def currentdict end def /greeting*gs-cjk { product (Ghostscript) search not { pop } { pop pop pop QUIET not { notice*stdout begin *open *gs-cjk { (\n) search { *echo } { *echo-n exit } ifelse pop } loop *close end } if } ifelse } bind def greeting*gs-cjk /*findfont { dup /Font resourcestatus { pop pop findfont } { notice*page begin *open (Error in findfont: ) *echo-n dup *echo *close end findfont } ifelse } bind def /orighandleerror errordict /handleerror get def errordict begin /handleerror { notice*page begin errordict begin $error begin *open (Error of ) *echo-n errorname dup length string cvs *echo *close showpage end end end orighandleerror } bind def end %%EndProlog /Ryumin-Light-RKSJ-V *findfont 25 scalefont --- End offending input --- file offset = 2435 gsapi_run_string_continue returns -101

この書き込みへの返事:

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