.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH WEBFONT "1" "February 2023" "webfont 11.4.0" "User Commands" .SH NAME webfont \- Convert a set of SVG files into a webfont in various formats .SH DESCRIPTION .IP Generator of fonts from svg icons, svg icons to svg font, svg font to ttf, ttf to eot, ttf to woff, ttf to woff2 .IP Usage: webfont [input] [options] .IP Input: File(s) or glob(s). .IP If an input argument is wrapped in quotation marks, it will be passed to "fast\-glob" for cross\-platform glob support. .IP Options: .HP \fB\-\-config\fR .IP Path to a specific configuration file (JSON, YAML, or CommonJS) or the name of a module in `node_modules` that points to one. If no `\-\-config` argument is provided, webfont will search for configuration files in the following places, in this order: .IP \- a `webfont` property in `package.json` \- a `.webfontrc` file (with or without filename extension: .IP `.json`, `.yaml`, and `.js` are available) .IP \- a `webfont.config.js` file exporting a JS object .IP The search will begin in the working directory and move up the directory tree until a configuration file is found. .HP \fB\-u\fR, \fB\-\-fontName\fR .IP The font family name you want, default: "webfont". .HP \fB\-h\fR, \fB\-\-help\fR .IP Output usage information. .HP \fB\-v\fR, \fB\-\-version\fR .IP Output the version number. .HP \fB\-f\fR, \fB\-\-formats\fR .IP Only this formats generate. .HP \fB\-d\fR, \fB\-\-dest\fR .IP Destination for generated fonts. .HP \fB\-m\fR, \fB\-\-dest\-create\fR .IP Create destination directory if it does not exist. .HP \fB\-t\fR, \fB\-\-template\fR .IP Type of template ('css', 'scss', 'styl') or path to custom template. .HP \fB\-s\fR, \fB\-\-destTemplate\fR .IP Destination for generated template. If not passed used `dest` argument value. .HP \fB\-c\fR, \fB\-\-templateClassName\fR .IP Class name in css template. .HP \fB\-p\fR, \fB\-\-templateFontPath\fR .IP Font path in css template. .HP \fB\-n\fR, \fB\-\-templateFontName\fR .IP Font name in css template. .HP \fB\-\-templateCacheString\fR .IP Specify cache string in scss/css template. .HP \fB\-\-no\-sort\fR .IP Keeps the files in the same order of entry .HP \fB\-\-no\-ligatures\fR .IP Prevents adding ligature unicode .HP \fB\-\-verbose\fR .IP Tell me everything!. .IP For "svgicons2svgfont": .HP \fB\-\-fontId\fR .IP The font id you want, default as "\-\-fontName". .HP \fB\-\-fontStyle\fR .IP The font style you want. .HP \fB\-\-fontWeight\fR .IP The font weight you want. .HP \fB\-\-fixedWidth\fR .IP Creates a monospace font of the width of the largest input icon. .HP \fB\-\-centerHorizontally\fR .IP Calculate the bounds of a glyph and center it horizontally. .HP \fB\-\-normalize\fR .IP Normalize icons by scaling them to the height of the highest icon. .HP \fB\-\-fontHeight\fR .IP The outputted font height [MAX(icons.height)]. .HP \fB\-\-round\fR .IP Setup the SVG path rounding [10e12]. .HP \fB\-\-descent\fR .IP The font descent [0]. .HP \fB\-\-ascent\fR .IP The font ascent [height \- descent]. .HP \fB\-\-startUnicode\fR .IP The start unicode codepoint for files without prefix [0xEA01]. .HP \fB\-\-prependUnicode\fR .IP Prefix files with their automatically allocated unicode codepoint. .HP \fB\-\-metadata\fR .IP Content of the metadata tag. .HP \fB\-\-addHashInFontUrl\fR .IP Generated font url will be : [webfont].[ext]?v=[hash]