1.0.0 • Published 2 years ago

extract-regular-chinese-from-font v1.0.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
2 years ago

抽取字体文件中的常用汉字(覆盖日常使用的 99%),以减小字体文件大小。

支持格式:

  • ttf
  • woff
  • woff2

需要 node >= 14

常用汉字:https://github.com/wings-j/extract-regular-chinese-from-font/blob/master/data/regular.txt

安装

npm i --global extract-regular-chinese-from-font

使用

extract-regular-chinese-from-font <input> <output>

示例:

extract-regular-chinese-from-font ./input.ttf ./output.ttf
1.0.0

2 years ago

0.0.0

2 years ago