summaryrefslogtreecommitdiff
path: root/language/japanese/japanese-otf-uptex/umakeotf_prop
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/japanese/japanese-otf-uptex/umakeotf_prop
Initial commit
Diffstat (limited to 'language/japanese/japanese-otf-uptex/umakeotf_prop')
-rwxr-xr-xlanguage/japanese/japanese-otf-uptex/umakeotf_prop38
1 files changed, 38 insertions, 0 deletions
diff --git a/language/japanese/japanese-otf-uptex/umakeotf_prop b/language/japanese/japanese-otf-uptex/umakeotf_prop
new file mode 100755
index 0000000000..378429ed44
--- /dev/null
+++ b/language/japanese/japanese-otf-uptex/umakeotf_prop
@@ -0,0 +1,38 @@
+#!/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
+if test ! -d vf; then
+mkdir vf
+fi
+if test ! -d ovp; then
+mkdir ovp
+fi
+
+echo "making proportional kana tfm/vf ..."
+perl -s script/umkpkana.pl -sp=1 -hk
+perl -s script/umkvpkana.pl -sp=1
+
+for face in minw3 minw6 kakuw3 kakuw6 maruw4
+do
+$UPPLTOTF -kanji=uptex pl/upphira${face}-h.pl tfm/upphira${face}-h.tfm
+$UPPLTOTF -kanji=uptex pl/upphira${face}-v.pl tfm/upphira${face}-v.tfm
+done
+
+for face in minw3 minw6 kakuw3 kakuw6 maruw4
+do
+$OVP2OVF ovp/upphira${face}-h.ovp vf/upphira${face}-h.vf vf/upphira${face}-h.ofm
+$OVP2OVF ovp/upphira${face}-v.ovp vf/upphira${face}-v.vf vf/upphira${face}-v.ofm
+done
+
+rm vf/*.ofm
+rm -rf ovp
+rm -rf pl