#安装fontforge
sudo apt-get install fontforge
#创建 cid2ttf.sh
----------------------------
#!/usr/local/bin/fontforge
# Quick and dirty hack: converts a font to truetype (.ttf)
Print("Opening "+$1);
Open($1);
Print("Saving "+$1:r+".ttf");
Generate($1:r+".ttf");
Quit(0);
----------------------------
#转换
fontforge -script cid2ttf.sh FONTNAME.cid
CIDfont类型的字体转化为ttf类型字体(其他字体转化类似)
点赞
收藏