DOKK / manpages / debian 12 / fontmake / fontmake.1.en
FONTMAKE(1) User Commands FONTMAKE(1)

fontmake - compile fonts from UFO or Glyphs to OTF/TTF

usage: fontmake [-h] [--version]

(-g GLYPHS | -u UFO [UFO ...] | -m DESIGNSPACE) [-o FORMAT [FORMAT ...]] [--output-path OUTPUT_PATH | --output-dir OUTPUT_DIR] [-i [INSTANCE_NAME]] [--use-mutatormath] [-M] [--family-name FAMILY_NAME] [--round-instances] [--designspace-path DESIGNSPACE_PATH] [--master-dir MASTER_DIR] [--instance-dir INSTANCE_DIR] [--no-write-skipexportglyphs] [--validate-ufo] [--expand-features-to-instances] [--no-generate-GDEF] [--keep-overlaps] [--overlaps-backend BACKEND] [--keep-direction] [-e ERROR] [-f] [-a [AUTOHINT]] [--cff-round-tolerance FLOAT] [--optimize-cff OPTIMIZE_CFF] [--subroutinizer {compreffor,cffsubr}] [--no-optimize-gvar] [--filter CLASS] [--interpolate-binary-layout [MASTER_DIR]] [--feature-writer CLASS] [--debug-feature-file FILE] [--mti-source MTI_SOURCE] [--production-names | --no-production-names] [--subset | --no-subset] [-s | -S] [--timing] [--verbose LEVEL]

show this help message and exit
show program's version number and exit
Rename glyphs with production names if available otherwise use uninames.

--no-production-names

Subset font using export flags set by glyphsLib

--no-subset

Optimize CFF table using compreffor (default) [DEPRECATED: use --optimize-cff option instead]

-S, --no-subroutinize

The following arguments are mutually exclusive (pick only one):
Path to .glyphs source file
One or more paths to UFO files
Path to .designspace file

Output font formats. Choose 1 or more from: ufo, otf, otf-cff2, ttf, ttf-interpolatable, otf-interpolatable, variable, variable-cff2. Default: otf, ttf. (No file paths).
Output font file path. Only valid when the output is a single file (e.g. input is a single UFO or output is variable font)
Output folder. By default, output folders are created in the current working directory, grouping output fonts by format.
Interpolate masters and generate all the instances defined. To only interpolate a specific instance (or instances) that match a given "name" attribute, you can pass as argument the full instance name or a regular expression. E.g.: -i "Noto Sans Bold"; or -i ".* UI Condensed". (for Glyphs or MutatorMath sources only).
Use MutatorMath to generate instances (supports extrapolation and anisotropic locations).
Output masters as instances
Family name to use for masters, and to filter output instances
Apply integer rounding to all geometry when interpolating
Path to output designspace file (for Glyphs sources only).
Directory where to write master UFO. Default: "./master_ufo". If value is "{tmp}", a temporary directory is created and removed at the end (for Glyphs sources only).
Directory where to write instance UFOs. Default: "./instance_ufo". If value is "{tmp}", a temporary directory is created and removed at the end (for Glyphs sources only).
Do not store the glyph export flags in the 'public.skipExportGlyphs' key of designspace/UFO lib, but use the old private glyph lib key 'com.schriftgestaltung.Glyphs.Export' (for Glyphs sources only).
Enable ufoLib validation on reading/writing UFO files. It is disabled by default
Resolves all include()s in the master feature file and writes the full feature file to all instance UFOs. Only valid when interpolating. Use if you share feature files of masters in external files, as instances can end up elsewhere.
Do not auto-generate a GDEF table, but keep an existing one intact.

Do not remove any overlap.
Select library to remove overlaps. Choose between: booleanOperations, pathops (default: booleanOperations)
Do not reverse contour direction when output is ttf or ttf-interpolatable
Maximum approximation error for cubic to quadratic conversion measured in EM
Flatten nested components to single level.
Run ttfautohint. Can provide arguments, quoted
Restrict rounding of point coordinates in CFF table to only those floats whose absolute difference from their integral part is less than or equal to the tolerance. By default, all floats are rounded to integer (tolerance 0.5); 0 disables rounding.
0 disables all optimizations; 1 specializes the CFF charstring operators; 2 (default) also enables subroutinization
name of the library to use for compressing CFF charstrings. Choose between: compreffor, cffsubr. By default compreffor is used for CFF 1, and cffsubr for CFF2. NOTE: compreffor doesn't support CFF2.
Do not perform IUP optimization on variable font's 'gvar' table. (only works with 'variable' TrueTypeflavored output)
string specifying a filter class to load, either built-in or from an external module, optionally initialized with the given keyword arguments. The class and module names are separated by '::'. The option can be repeated multiple times for each filter class. The option overrides the filters specified in the UFO lib.

Interpolate layout tables from compiled master binaries. Requires Glyphs or MutatorMath source.
string specifying a feature writer class to load, either built-in or from an external module, optionally initialized with the given keyword arguments. The class and module names are separated by '::'. The option can be repeated multiple times for each writer class. A special value of 'None' will disable all automatic feature generation. The option overrides both the default ufo2ft writers and those specified in the UFO lib.
Path were to dump OpenType features text to debug auto-generated features (kern, mark, mkmk, etc.).
mtiLib feature definition .plist file path (use instead of FEA)

Print the elapsed time for each steps
Configure the logger verbosity level. Choose between: DEBUG, INFO, WARNING, ERROR, CRITICAL. Default: INFO
October 2022 fontmake 2.4.1