1.0.3 • Published 7 years ago

fontgen v1.0.3

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

#generate bitmap font from the ttf

Usage: fontgen [--glyphs glyphs] [--size size] [--width width] [--height
height] [--name face] [--fill color] [--config config] [--out out]
[path_to_font]

Options:
  -h, --help, --height  Show help                       [boolean] [default: 256]
  -o, --out                                                    [default: "font"]
  -n, --name                                                   [default: "font"]
  -s, --size                                                       [default: 72]
  -w, --width                                                     [default: 256]
  -u, --uppercase                                     [boolean] [default: false]
  -g, --glyphs                                                       [default: "
  $лвRCHF¥Kčkr€£nt₪₹Lzłleiบาท₤₺,.-1234567890+:∞%abcdfghjmopqsuvwxyABDEGIJMNOPQST
                                                 UVWXYZ!№;?*()_=/|'@#^&{}[]\" "]

Examples:
  ../index.js --glyphs 'abc' --uppercase    generate bitmap font for abcABC and
  font.ttf                                  store it to the font.png and
                                            font.fnt
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago