Article View: fj.lang.postscript
Article #761[Q] How to use True Type Font in Ghostscript for Win95
From: Jun Ishimoto
Date: Mon, 08 Jan 1996 00:00
Date: Mon, 08 Jan 1996 00:00
75 lines
3821 bytes
3821 bytes
Ghostscript for Win Ver.2.6.1がTrue Type Fontに対応したという情報を見て
,早速、ftp://ftp.kuis.kyoto-u.ac.jp/WINDOWS/utils/gs261j から手に入れてイ
ンストールしましたが,うまく動きません(マシンはPC9821Xa10/C12 + 47MB RAM
+ Win95です).
インストールの仕方は,readme.txtにあったとおりに行い(ディレクトリa:\gsw
を作成しその中で gs26font.taz,gsview10.zip,gsw261l.lzh,gsw261v2.lzh の
4つのファイルを展開),環境変数の設定に関してもautoexec.batに
set GS_LIB=a:\gsw\psfiles;a:\gsw\psfiles\kanji;a:\gsw\fonts
set VFONTCAP=a:\gsw\psfiles
の記述を入れた後,DOS窓でフォントインデックスの作成を
a:\GSW>ttindex a:\windows\fonts\msmincho.ttc
a:\GSW>ttindex a:\windows\fonts\msgothic.ttc
のように行い,vfontcapの一部も以下のように変更しました.
### TRUETYPE FONT (Windows fonts)
r-microsoft-mincho|MicroSoft mincho:\
:ft=truetype:\
:ff=a\:/windows/fonts/msmincho:
r-microsoft-gothic|Microsoft gothic:\
:ft=truetype:\
:ff=a\:/windows/fonts/msgothic:
さらに,Vflibのドキュメントを参考に,vflib.ps中の記述をvfontcapの内容に従
って以下のように編集し直しました.
/Ryumin-Light 4300000 (a:/windows/fonts/msmincho) VFlibkanji
/GothicBBB-Medium 4300200 (a:/windows/fonts/msgothic) VFlibkanji
その後vflib.ps は kconfig.ps というファイル名にリネームして kfvflib.ps と
一
緒に、Ghostscript のライブラリ検索パス上に置きました.
しかしながらgswinを起動させると以下のようなエラーがでてプレビューできませ
ん.
GS>(a:/sig.ps) run
Loading Courier font from a:\gsw\fonts\ncrr.gsf... 660000 644250 0 done.
VFlib: Cannot open the font `a:/windows/fonts/msmincho'.
Error: /ioerror in --kfVFlib--
Operand stack:
/hyphen 8509 0 8509 0 (a:/windows/fonts/msmincho)
Execution stack:
%interp_exit --nostringval-- --nostringval-- --nostringval--
%loop_continue --nostringval-- --nostringval-- false --nostringval--
--nostringval--
--nostringval-- false --nostringval-- --nostringval-- --nostringval--
operator_2b8f0cb1 --nostringval-- %finish_show --nostringval--
--nostringval-- %op_show_continue --nostringval-- --nostringval--
--nostringval--
Dictionary stack:
542/547 0/20 41/200 14/15 10/11
Current file position is 15
GS<6>
上のエラーを見る限りではmsminchoフォントをオープンできないというエラーなの
でしょうが,kconfig.psできちんとTTFの在処を設定しているにも関わらず,この
ようなエラーがでるのはなぜなのでしょうか.もしかしてVFlib-2.20を用いて
VFLibのmakeを新たにやり直さなくてはならないのでしょうか.
どなたかご教示願います.
--
----------------------------------------------------------------
From : 石本 淳 (Jun Ishimoto)
住所 : 〒980-77 仙台市青葉区片平2-1-1
東北大学流体科学研究所 神山研究室
Address : Kamiyama Lab., 2-1-1, Katahira, Aoba-ku,
Sendai, 980-77, Japan.
電話・ファックス : (022)-217-5261(ダイヤルイン)
TEL : +81-22-217-5261
Fax : +81-22-217-5311
E-mail : i0007@paris.ifs.tohoku.ac.jp
----------------------------------------------------------------
Technical Details
Message-ID:
<4cpqi8$pg6@akiu.gw.tohoku.ac.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: fa2ca,e9109170df91432c,start X-Google-Attributes: gidfa2ca,public From: i0007@paris.ifs.tohoku.ac.jp (Jun Ishimoto) Subject: [Q] How to use True Type Font in Ghostscript for Win95 Date: 1996/01/08 Message-ID: <4cpqi8$pg6@akiu.gw.tohoku.ac.jp> X-Deja-AN: 134697104 distribution: world content-type: text/plain; charset=ISO-2022-JP organization: Institute of Fluid Science mime-version: 1.0 newsgroups: fj.lang.postscript