This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

font-caster

1.0.4 • Public • Published

⚠️ The repository has been archived, and I recommend using the better alternative cn-font-split


font-caster

font-caster: A Minimalist Font-Subsetting Library for Streamlining Font Files

(Only supports Node.js runtime.)


Document

Please check this document, it supports English and 简体中文.

Important Note on Subsetting Fira Code

If you obtain Fira Code from GitHub, the browser may not parse the subset file correctly due to missing metadata. In contrast, Fira Code from Google Fonts does not have this issue. For effective subsetting, it's recommended to use Fira Code sourced from Google Fonts. Google Fonts currently offers version 5 of Fira Code, while GitHub provides version 6. Notably, Fira Code is expected to update its versions on Google Fonts soon.


License

font-caster is distributed under the MIT License


Versioning

font-caster adheres to Semantic Versioning 2.0.0


Thanks

Special thanks to opentype.js, as font-caster is developed upon it.


Package Sidebar

Install

npm i font-caster

Weekly Downloads

4

Version

1.0.4

License

MIT

Unpacked Size

195 kB

Total Files

13

Last publish

Collaborators

  • jynxio