List of available command-line flags for svgicons2svgfont:
| Flag | Long Flag | Description |
|---|
-V | --version | Output the version number |
-v | --verbose | Tell me everything! |
-o | --output [value] | File to write output to (defaults to /dev/stdout) |
-f | --fontName [value] | The font family name you want [default: iconfont] |
-i | --fontId [value] | The font id you want [default: fontName] |
-st | --style [value] | The font style you want |
-we | --weight [value] | The font weight you want |
-w | --fixedWidth | Creates a monospace font of the width of the largest input icon |
-c | --centerHorizontally | Calculate the bounds of a glyph and center it horizontally |
-y | --centerVertically | Centers the glyphs vertically in the generated font |
-n | --normalize | Normalize icons by scaling them to the height of the highest icon |
-p | --preserveAspectRatio | Used with normalize to scale down glyph if the SVG width is greater than the height |
-h | --height [value] | The output font height [MAX(icons.height)] |
-r | --round [value] | Setup the SVG path rounding [default: 10e12] |
-d | --descent [value] | The font descent [default: 0] |
-a | --ascent [value] | The font ascent [default: height - descent] |
-s | --startUnicode [value] | The start unicode code point for unprefixed files [default: 0xEA01] |
-u | --prependUnicode | Prefix files with their automatically allocated unicode code point |
--help | --help | Display help for command |
Usage: svgicons2svgfont [options] <icons ...>
Options:
-V, --version output the version number
-v, --verbose tell me everything!
-o, --output [/dev/stdout] file to write output to
-f, --fontName [value] the font family name you want [iconfont]
-i, --fontId [value] the font id you want [fontName]
-st, --style [value] the font style you want
-we, --weight [value] the font weight you want
-w, --fixedWidth creates a monospace font of the width of the largest input icon
-c, --centerHorizontally calculate the bounds of a glyph and center it horizontally
-y, --centerVertically centers the glyphs vertically in the generated font.
-n, --normalize normalize icons by scaling them to the height of the highest icon
-p, --preserveAspectRatio used with normalize to scale down glyph if the SVG width is greater than the height
-h, --height [value] the output font height [MAX(icons.height)] (icons will be scaled so the highest has
this height)
-r, --round [value] setup the SVG path rounding [10e12]
-d, --descent [value] the font descent [0]
-a, --ascent [value] the font ascent [height - descent]
-s, --startUnicode [value] the start unicode code point for unprefixed files [0xEA01]
-u, --prependUnicode prefix files with their automatically allocated unicode code point
-m, --metadata content of the metadata tag
--help display help for command