使用定制字体WOFF文件
安装Python
安装fonttools
sh
pip install fonttools
创建一个chars.txt
文件写入需要定制的文字
使用命令
sh
pyftsubset 原字体.ttf --text-file=chars.txt --output-file=mini-font.woff
IMPORTANT
首先得有一个完整的字体文件才行
Google Fonts官网:https://fonts.google.com