msdf-atlas-gen
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

msdf-atlas-gen

Utility for generating mtsdf fonts. Based off https://github.com/Butterwell/mtsdf-fonts

Written mainly for my upcoming project: XR-Tag.

Usage

Usage: msdf-atlas-gen [options] <font>

Utility for generating compact font atlases using msdfgen

Arguments:
  font                   ttf/otf file or Google Font family

Options:
  -V, --version          output the version number
  -f, --format <format>  image format (choices: "bin", "binfloat", "bmp", "text", "textfloat", "tiff", "png" (default))
  -i, --image <image>    Output image file
  -j, --json <json>      Output JSON file
  -t, --js <js>          Output JavaScript file
  -w, --weight <weight>  Font weight (default: 400)
  -h, --help             display help for command

font can be a font file or the name of a font family available on Google Fonts.

Readme

Keywords

Package Sidebar

Install

npm i msdf-atlas-gen

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

4.29 MB

Total Files

12

Last publish

Collaborators

  • symbitic