blob: 270a256c504859b5a30586377b8ece23e5e5695b (
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
|
MAKEJVF = makejvf
TFTOPL = uptftopl -kanji=utf8
PLTOTF = uppltotf -kanji=uptex
MAKEJVFJ3 = $(MAKEJVF) -i -u jis -3
MAKEJVFG3 = $(MAKEJVF) -i -u gb -3
MAKEJVFC3 = $(MAKEJVF) -i -u cns -3
MAKEJVFK = $(MAKEJVF) -i -u ks
MAKEJVFJ = $(MAKEJVF) -i -u jis
MAKEJVFJQ = $(MAKEJVF) -i -u jisq
MAKEJVFX = $(MAKEJVF) -i -u custom
all: tfm vf pstfm
pl:
$(TFTOPL) `kpsewhich jis.tfm` jis.pl
perl -s -n -C makepl.perl jis.pl > upjisr-h.pl
perl -s -n -C makepl.perl -hk jis.pl > upjisr-h-hk.pl
$(TFTOPL) `kpsewhich jis-v.tfm` jis-v.pl
perl -s -n -C makepl.perl jis-v.pl > upjisr-v.pl
rm -f jis.pl jis-v.pl
tfm:
for fnt in upjisr upjisg upjpnrm upjpngt ; do \
$(PLTOTF) upjisr-h-hk.pl $$fnt-h.tfm ; \
done
for fnt in upjisr upjisg upjpnrm upjpngt ; do \
$(PLTOTF) upjisr-v.pl $$fnt-v.tfm ; \
done
for hv in h v ; do \
for fnt in upkorrm upkorgt ; do \
$(PLTOTF) upkorr-$$hv.pl $$fnt-$$hv.tfm ; \
done ; \
for fnt in upschrm upschgt ; do \
$(PLTOTF) upschr-$$hv.pl $$fnt-$$hv.tfm ; \
done ; \
for fnt in uptchrm uptchgt ; do \
$(PLTOTF) uptchr-$$hv.pl $$fnt-$$hv.tfm ; \
done ; \
done
for fnt in upjisr-hq upjisg-hq ; do \
$(PLTOTF) upjisr-h.pl $$fnt.tfm ; \
done
pstfm:
for fnt in uprml upgbm ; do \
$(PLTOTF) uprml-h-hk.pl $$fnt-h.tfm ; \
done
for fnt in uphysmjm uphygt upstsl upstht upmsl upmhm ; do \
$(PLTOTF) uprml-h.pl $$fnt-h.tfm ; \
done
for fnt in uprml upgbm ; do \
$(PLTOTF) uprml-h.pl $$fnt-hq.tfm ; \
done
vf:
# $(MAKEJVFJ) -e -H -U upjisr-hq upjisr-h.tfm uprml-h
# $(MAKEJVFJ) -e -H -U upjisg-hq upjisg-h.tfm upgbm-h
# $(MAKEJVFJ) -e upjisr-v.tfm uprml-v
# $(MAKEJVFJ) -e upjisg-v.tfm upgbm-v
$(MAKEJVFX) -e -t makejvf-upjis.cnf -H -U upjisr-hq upjisr-h.tfm uprml-h
$(MAKEJVFX) -e -t makejvf-upjis.cnf -H -U upjisg-hq upjisg-h.tfm upgbm-h
$(MAKEJVFX) -e -t makejvf-upjis.cnf upjisr-v.tfm uprml-v
$(MAKEJVFX) -e -t makejvf-upjis.cnf upjisg-v.tfm upgbm-v
$(MAKEJVFJQ) -e upjisr-hq.tfm uprml-hq
$(MAKEJVFJQ) -e upjisg-hq.tfm upgbm-hq
# $(MAKEJVFJ3) -e -H -U upjisr-hq upjpnrm-h.tfm uprml-h
# $(MAKEJVFJ3) -e -H -U upjisg-hq upjpngt-h.tfm upgbm-h
# $(MAKEJVFJ3) -e upjpnrm-v.tfm uprml-v
# $(MAKEJVFJ3) -e upjpngt-v.tfm upgbm-v
$(MAKEJVFX) -e -t makejvf-upjpn.cnf -H -U upjisr-hq upjpnrm-h.tfm uprml-h
$(MAKEJVFX) -e -t makejvf-upjpn.cnf -H -U upjisg-hq upjpngt-h.tfm upgbm-h
$(MAKEJVFX) -e -t makejvf-upjpn.cnf upjpnrm-v.tfm uprml-v
$(MAKEJVFX) -e -t makejvf-upjpn.cnf upjpngt-v.tfm upgbm-v
$(MAKEJVFK) -e upkorrm-h.tfm uphysmjm-h
$(MAKEJVFK) -e upkorgt-h.tfm uphygt-h
$(MAKEJVFK) -e upkorrm-v.tfm uphysmjm-v
$(MAKEJVFK) -e upkorgt-v.tfm uphygt-v
$(MAKEJVFG3) -e upschrm-h.tfm upstsl-h
$(MAKEJVFG3) -e upschgt-h.tfm upstht-h
$(MAKEJVFG3) -e upschrm-v.tfm upstsl-v
$(MAKEJVFG3) -e upschgt-v.tfm upstht-v
$(MAKEJVFC3) -e uptchrm-h.tfm upmsl-h
$(MAKEJVFC3) -e uptchgt-h.tfm upmhm-h
$(MAKEJVFC3) -e uptchrm-v.tfm upmsl-v
$(MAKEJVFC3) -e uptchgt-v.tfm upmhm-v
move:
mkdir -pv ../tfm ../vf
mv *.tfm ../tfm
mv *.vf ../vf
|