make_subsetfont.sh 225 Bytes
#!/bin/sh

find . -name list.csv -exec cat {} \; > menulist.txt

cat lang_zh.ts menulist.txt > source.txt

pyftsubset NotoSansCJKsc-Light.otf --text-file=source.txt
pyftsubset NotoSansCJKsc-Regular.otf --text-file=source.txt