install-cid.tar.gz and install-cid.zip -
alias-cid.sh and alias-cid.bat with alias-cid.ps, aliascid.ps and ttcf2cid.ps
[Japanese] [2002/8/20] <aliascid.ps>
<ttcf2cid.ps> <Ghostscript
CJK Supplement information>
The gs-cjk patch kit included install-cid.tar.gz, shell
scripts to setup CID-keyed fonts but these were not usable for non-UNIX-like
systems. Here new install-cid.zip and install-cid.tar.gz which are rewritten
in PostScript language are introduced in order for Windows users to use
the setup scripts of CID-keyed fonts.
Basic Usage
Usage of new alias-*.sh and alias-*.bat are the same as README of Ghostscript
CJK Supplement information except for that you should specify
a TrueType fontpath as fullpath.
For Windows users, please read those README files replacing alias-*.sh
with alias-*.bat.
For new alias-*.bat and alias-*.sh, auto generation of compose fonts,
CIDFontName-CMapName files is done by default into Resource/Font directory.
If you want to suppress the auto generation then edit alias-*.bat or alias-cid.sh
and remove "-dCOMPOSE" option written in these files.
New Usage
If you use ``:='' in place of ``=''
in arguments of alias-*.sh and alias-*.bat then full CIDFontType2 dictionary
for gs is generated into Resource/CIDFont directory. After this setup,
gs font loading for this CIDFontType2 becomes very
rapid.
Some examples at DOS prompt are shown below. Before doing, please confirm
or edit the directories, CIDFont and Font of Resource of gs written in
gs_res.ps.
> alias-ak1.bat install DotumChe:=C:\WINDOWS\Fonts\gulim.ttc,4
> alias-ak1.bat install HYGoThic-Medium=DotumChe
> alias-ak1.bat install SMGothic-Bold=HYGoThic-Medium,Bold
> alias-aj2.bat install HeiseiMin-W3H:=C:\WINDOWS\Fonts\msmincho.ttc,Adobe-Japan2
> alias-aj2.bat install HeiseiKakuGo-W5H:=C:\WINDOWS\Fonts\msgothic.ttc,Adobe-Japan2
Details
install-cid.tar.gz and install-cid.zip are using and including following
PostScript files:
-
ttcf2cid.ps - CIDFontType2 dictionary dumper
by/for Ghostscript 6.53 and 7.05
-
aliascid.ps - CIDFontName aliasing and CMap
composing script
-
alias-cid.ps - for backward compatibility
with old alias-cid.sh in gs-cjk patch kit
Distribution
Written by Taiji Yamada <taiji@aihara.co.jp> and gs-cjk project