summaryrefslogtreecommitdiff
path: root/macros/jptex/latex/japanese-otf/src/umakeotf_prop
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-08-01 03:04:31 +0000
committerNorbert Preining <norbert@preining.info>2022-08-01 03:04:31 +0000
commitc7ecdfe2e07e2e010de5e2a8d94c001c5dc9fc27 (patch)
tree80bdca45c628ce054648b8b6adc4c97d21bd48bb /macros/jptex/latex/japanese-otf/src/umakeotf_prop
parent0d7064c66024537b237407f8b36413b055cf9a9a (diff)
CTAN sync 202208010304
Diffstat (limited to 'macros/jptex/latex/japanese-otf/src/umakeotf_prop')
-rwxr-xr-xmacros/jptex/latex/japanese-otf/src/umakeotf_prop38
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/jptex/latex/japanese-otf/src/umakeotf_prop b/macros/jptex/latex/japanese-otf/src/umakeotf_prop
new file mode 100755
index 0000000000..13b27d5152
--- /dev/null
+++ b/macros/jptex/latex/japanese-otf/src/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 -omitfw -hk
+perl -s script/umkvpkana.pl -omitfw
+
+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