1.0.0 • Published 3 months ago

msdf-atlas-gen v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

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.