diff options
Diffstat (limited to '')
-rwxr-xr-x | TOOLS/gen-osd-font.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TOOLS/gen-osd-font.sh b/TOOLS/gen-osd-font.sh new file mode 100755 index 0000000..6838692 --- /dev/null +++ b/TOOLS/gen-osd-font.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# This script is expected to be called as TOOLS/gen-osd-font.sh (it will access +# TOOLS/mpv-osd-symbols.sfdir), and it will write sub/osd_font.otf. + +# Needs fontforge with python scripting + +fontforge -lang=py -c 'f=open(argv[1]); f.generate(argv[2])' \ + TOOLS/mpv-osd-symbols.sfdir sub/osd_font.otf |