前几天为了查找字体转换工具网上搜索,既然用 Node.js 来做的工具。

https://github.com/fontello/ttf2eot

https://github.com/fontello/ttf2woff

https://github.com/qdsang/ttf2svg

https://github.com/fontello/svg2ttf

先安装 node https://nodejs.org/en/

npm install -g ttf2eot
npm install -g ttf2woff
npm install -g ttf2svg
npm install -g svg2ttf

这样可以在本地转换字体

缺点是有些中文字体不能正常转换

相关文章:

  • 2021-07-01
  • 2022-02-08
  • 2021-12-22
  • 2021-11-30
  • 2022-01-28
猜你喜欢
  • 2022-01-08
  • 2021-10-07
  • 2022-12-23
  • 2021-10-02
  • 2022-01-26
  • 2022-03-10
  • 2022-12-23
相关资源
相似解决方案