diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-18 23:02:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-18 23:02:28 +0000 |
commit | a9a767323f5a32d8552c16ef6da0af4cec163044 (patch) | |
tree | ad67e6d393217b77e30a06b873e7aca520750cee /Master/texmf-dist/source/fonts/japanese-otf/umakeotf | |
parent | 87c99531bd84a7b1c1b5004b7c452eef73e6df15 (diff) |
j-otf src/ subdir to source/j-otf
git-svn-id: svn://tug.org/texlive/trunk@62079 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/fonts/japanese-otf/umakeotf')
-rwxr-xr-x | Master/texmf-dist/source/fonts/japanese-otf/umakeotf | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/japanese-otf/umakeotf b/Master/texmf-dist/source/fonts/japanese-otf/umakeotf new file mode 100755 index 00000000000..5749e6fcb7a --- /dev/null +++ b/Master/texmf-dist/source/fonts/japanese-otf/umakeotf @@ -0,0 +1,109 @@ +#!/bin/sh + +# +# This script is a part of otfbeta-uptex (a.k.a. japanese-otf-uptex). +# + +# setting for ovp2ovf & uppltotf +. ./umakeotf_pre + +if test ! -d tfm; then +mkdir tfm +fi + + +echo "making tfm ..." +for series in nml exp ruby +do +for face in minr gothr minb gothb mgothr +do +$UPPLTOTF -kanji=uptex basepl/ubase-h.pl tfm/up${series}${face}-h.tfm +$UPPLTOTF -kanji=uptex basepl/ubase-v.pl tfm/up${series}${face}-v.tfm +done +done +#for extra fonts +for series in nml exp ruby +do +for face in gotheb minl +do +$UPPLTOTF -kanji=uptex basepl/ubase-h.pl tfm/up${series}${face}-h.tfm +$UPPLTOTF -kanji=uptex basepl/ubase-v.pl tfm/up${series}${face}-v.tfm +done +done + +echo "making vf (wait a while)..." +for face in minr gothr minb gothb mgothr +do +./umkjvf -ucs -sp 1 -cq upnml${face}-h uph${face}-h +./umkjvf -ucs -sp 1 -cm -cp upnml${face}-v uph${face}-v +done +#extra fonts +for face in gotheb minl +do +./umkjvf -ucs -sp 1 -cq upnml${face}-h uph${face}-h +./umkjvf -ucs -sp 1 -cm -cp upnml${face}-v uph${face}-v +done + + +echo "making tfm for CK ..." +#for CK base fonts +for series in nm +do +for lang in sch tch kor +do +for face in minr gothr minb gothb mgothr gotheb minl +do +$UPPLTOTF -kanji=uptex basepl/ubase-${lang}-h.pl up${series}${lang}${face}-h.tfm +$UPPLTOTF -kanji=uptex basepl/ubase-${lang}-v.pl up${series}${lang}${face}-v.tfm +done +done +done + +echo "making vf for CK ..." +#for CK base fonts +for series in nm +do +for lang in sch tch kor +do +for face in minr gothr minb gothb mgothr gotheb minl +do +#makejvf -i -u custom -e -t basepl/mjvf-up${series}${lang}.cnf up${series}${lang}${face}-h upa${lang}${face}-h +#makejvf -i -u custom -e -t basepl/mjvf-up${series}${lang}.cnf up${series}${lang}${face}-v upa${lang}${face}-v +makejvf -i -u custom -e -t basepl/mjvf-up${series}${lang}-slim.cnf up${series}${lang}${face}-h upa${lang}${face}-h +makejvf -i -u custom -e -t basepl/mjvf-up${series}${lang}-slim.cnf up${series}${lang}${face}-v upa${lang}${face}-v +done +done +done + + +echo "making alt. kana ..." +for face in minr gothr minb gothb mgothr +do +./umkjvf -ucs -sp 1 -omitfw -cq -expert upexp${face}-h uph${face}-h cidj${face} +./umkjvf -ucs -sp 1 -omitfw -cm -cp -expert upexp${face}-v uph${face}-v cidj${face} +./umkjvf -ucs -sp 1 -omitfw -cq -ruby upruby${face}-h uph${face}-h cidj${face} +./umkjvf -ucs -sp 1 -omitfw -cm -cp -ruby upruby${face}-v uph${face}-v cidj${face} +done +#extra fonts +for face in gotheb minl +do +./umkjvf -ucs -sp 1 -omitfw -cq -expert upexp${face}-h uph${face}-h cidj${face} +./umkjvf -ucs -sp 1 -omitfw -cm -cp -expert upexp${face}-v uph${face}-v cidj${face} +./umkjvf -ucs -sp 1 -omitfw -cq -ruby upruby${face}-h uph${face}-h cidj${face} +./umkjvf -ucs -sp 1 -omitfw -cm -cp -ruby upruby${face}-v uph${face}-v cidj${face} +done + + +echo "making tfm for supplementary plane ..." +perl script/mktfm_sp.pl +echo "making vf for supplementary plane ..." +perl script/mkutfvf_sp.pl + + +echo "finishing ..." +if test ! -d vf; then +mkdir vf +fi +mv *.vf vf/ +mv *.tfm tfm/ +rm -rf ovp |