summaryrefslogtreecommitdiff
path: root/language/japanese/japanese-otf-uptex/umakeotf_jis04
blob: f02e69fd63c8bb3a8f05e9803d384d9d882ff584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#!/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 jis2004 ..."
for series in nml exp
do
for face in minr gothr minb gothb mgothr
do
$UPPLTOTF -kanji=uptex basepl/ubase-h.pl tfm/up${series}${face}n-h.tfm
$UPPLTOTF -kanji=uptex basepl/ubase-v.pl tfm/up${series}${face}n-v.tfm
done
done
#for extra fonts
for series in nml exp
do
for face in gotheb minl
do
$UPPLTOTF -kanji=uptex basepl/ubase-h.pl tfm/up${series}${face}n-h.tfm
$UPPLTOTF -kanji=uptex basepl/ubase-v.pl tfm/up${series}${face}n-v.tfm
done
done


echo "making tfm for burasage & jis2004 ..."
for series in nml exp
do
for face in minr gothr minb gothb mgothr
do
$UPPLTOTF -kanji=uptex basepl/ubrsg-h.pl tfm/upbrsg${series}${face}n-h.tfm
$UPPLTOTF -kanji=uptex basepl/ubrsg-v.pl tfm/upbrsg${series}${face}n-v.tfm
done
done
#for extra fonts
for series in nml exp
do
for face in gotheb minl
do
$UPPLTOTF -kanji=uptex basepl/ubrsg-h.pl tfm/upbrsg${series}${face}n-h.tfm
$UPPLTOTF -kanji=uptex basepl/ubrsg-v.pl tfm/upbrsg${series}${face}n-v.tfm
done
done


echo "making vf for jis2004 ..."
for face in minr gothr minb gothb mgothr
do
./umkjvf -ucs -sp 1 -cq     upnml${face}n-h uph${face}n-h
./umkjvf -ucs -sp 1 -cm -cp upnml${face}n-v uph${face}n-v
done
#extra fonts
for face in gotheb minl
do
./umkjvf -ucs -sp 1 -cq     upnml${face}n-h uph${face}n-h
./umkjvf -ucs -sp 1 -cm -cp upnml${face}n-v uph${face}n-v
done

for face in minr gothr minb gothb mgothr
do
./umkjvf -ucs -sp 1 -omitfw -cq     -expert upexp${face}n-h  uph${face}n-h cidj${face}
./umkjvf -ucs -sp 1 -omitfw -cm -cp -expert upexp${face}n-v  uph${face}n-v cidj${face}
done
#extra fonts
for face in gotheb minl
do
./umkjvf -ucs -sp 1 -omitfw -cq     -expert upexp${face}n-h  uph${face}n-h cidj${face}
./umkjvf -ucs -sp 1 -omitfw -cm -cp -expert upexp${face}n-v  uph${face}n-v cidj${face}
done


echo "making vf for burasage & jis2004 ..."
for face in minr gothr minb gothb mgothr
do
./umkjvf -ucs -sp 1 -sage -omitfw -cq     upbrsgnml${face}n-h uph${face}n-h
./umkjvf -ucs -sp 1 -sage -omitfw -cm -cp upbrsgnml${face}n-v uph${face}n-v
done
#extra fonts
for face in gotheb minl
do
./umkjvf -ucs -sp 1 -sage -omitfw -cq     upbrsgnml${face}n-h uph${face}n-h
./umkjvf -ucs -sp 1 -sage -omitfw -cm -cp upbrsgnml${face}n-v uph${face}n-v
done

for face in minr gothr minb gothb mgothr
do
./umkjvf -ucs -sp 1 -sage -omitfw -cq     -expert upbrsgexp${face}n-h uph${face}n-h cidj${face}
./umkjvf -ucs -sp 1 -sage -omitfw -cm -cp -expert upbrsgexp${face}n-v uph${face}n-v cidj${face}
done
#extra fonts
for face in gotheb minl
do
./umkjvf -ucs -sp 1 -sage -omitfw -cq     -expert upbrsgexp${face}n-h uph${face}n-h cidj${face}
./umkjvf -ucs -sp 1 -sage -omitfw -cm -cp -expert upbrsgexp${face}n-v uph${face}n-v cidj${face}
done


echo "finishing ..."
if test ! -d vf; then
mkdir vf
fi
mv *.vf vf/
mv *.tfm tfm/