summaryrefslogtreecommitdiff
path: root/resources/fonts/sil/tocff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resources/fonts/sil/tocff.sh')
-rw-r--r--resources/fonts/sil/tocff.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/fonts/sil/tocff.sh b/resources/fonts/sil/tocff.sh
new file mode 100644
index 00000000..4207afa3
--- /dev/null
+++ b/resources/fonts/sil/tocff.sh
@@ -0,0 +1,7 @@
+# excl.dat contains all glyphs which do not have a unicode encoding in the original otf,
+# and all glyphs in the PUA.
+
+tx -cff +S -n -gx $(cat excl.dat) CharisSIL-5.000-developer/sources/CharisSIL-R-designsource.otf > CharisSIL-R.cff
+tx -cff +S -n -gx $(cat excl.dat) CharisSIL-5.000-developer/sources/CharisSIL-I-designsource.otf > CharisSIL-I.cff
+tx -cff +S -n -gx $(cat excl.dat) CharisSIL-5.000-developer/sources/CharisSIL-B-designsource.otf > CharisSIL-B.cff
+tx -cff +S -n -gx $(cat excl.dat) CharisSIL-5.000-developer/sources/CharisSIL-BI-designsource.otf > CharisSIL-BI.cff