summaryrefslogtreecommitdiff
path: root/tools/fonts/make_number_font.sh
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-05-01 00:48:35 +0200
committerTor Andersson <tor@ccxvii.net>2021-05-01 00:48:35 +0200
commit156f7f8546890c6406001061dae199f8320ca83b (patch)
tree06b54cbe7f9c2dbc1df83b30421fffcb6bbd6a1a /tools/fonts/make_number_font.sh
parent3d386ba2f16c95e5152052552a3bd571a81bc016 (diff)
downloadserver-156f7f8546890c6406001061dae199f8320ca83b.tar.gz
Add web fonts.
Diffstat (limited to 'tools/fonts/make_number_font.sh')
-rw-r--r--tools/fonts/make_number_font.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/fonts/make_number_font.sh b/tools/fonts/make_number_font.sh
new file mode 100644
index 0000000..1f85bc3
--- /dev/null
+++ b/tools/fonts/make_number_font.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+#
+# Create CircledNumbers webfont by subsetting the circled numbers from NotoSansJP.
+#
+
+pyftsubset NotoSansJP-Regular.otf --verbose --output-file=CircledNumbers.woff2 --flavor=woff2 --unicodes=U+2776-277b,U+2460-2465 --xml