Open cisen opened 4 years ago
流程
https://fontforge.org/en-US/downloads/gnulinux-dl/
mv icon* ../svg
sudo service ssh start
source ~/.profile
sudo add-apt-repository ppa:fontforge/fontforge;
sudo apt-get update;
sudo apt-get install fontforge;
sudo apt-get install python-fontforge
yarn sample tar -czvf build.tar.gz build sz
# mac
- brew 安装默认使用新的python,所以要用`brew install python`安装新的
- 多版本兼容
- `brew install fontforge`python就自动安装了fontforge模块,不用再安装`python-fontforge`
alias python2='/usr/bin/python' alias python3='/usr/local/bin/python3' alias python=python3
python
import fontforge import sys sys.patch
fontforge python API官网
https://github.com/nfroidure/gulp-iconfont https://github.com/YMFE/yicon https://github.com/nfroidure/svgiconfont https://github.com/purplebamboo/font-carrier https://github.com/keremciu/sketch-iconfont https://sspai.com/post/40502 有赞的:https://github.com/youzan/iconfount