fonts
Font packing, compression, subsetting, and conversion tools.
Packages in fonts
4 packages.
| Package | Description |
|---|---|
@suaveplan/font-compress |
BTF (Binary TypeFace) binary packing and unpacking. Converts TypefaceFont (typeface.js JSON format) to a compact Uint8Array using dictionary-based integer… |
@suaveplan/font-convert |
Converts TTF/OTF/WOFF/WOFF2 font files to the typeface.js JSON format used by Three.js FontLoader. Also defines the canonical TypefaceFont, TypefaceGlyph… |
@suaveplan/font-decompress |
BTF (Binary TypeFace) binary unpacking. Reverses @suaveplan/font-compress's BinaryFontPacker output into a typeface.js JSON shape ready for Three.js / R3F… |
@suaveplan/font-subset |
Font subsetting and compression library with a codec-agnostic adapter interface. Supports Unicode range subsetting, WOFF2/WOFF/OTF/TTF output, OpenType feature… |