Parameters
Following is a reference list of Xgridfit parameters. The long forms of these parameters are used when you run Xgridfit by invoking an XSLT processor directly; the one-letter forms are used when running the simple xgridfit script. The syntax for passing parameters to Xgridfit differs among various implementations of XSLT: consult the documentation for your preferred XSLT processor.
Some Xgridfit <default> elements have parameter equivalents. The parameter always takes precedence when it is present.
-i, infile
This is the name of a FontForge source file (.sfd) or TrueType font (.ttf) to be opened by the FontForge script generated by Xgridfit.
-o, outfile
The name of the file to be written by the FontForge script generated by Xgridfit. If you want FontForge to write a source file, the filename should end .sfd; if you want FontForge to generate a font, it should end .ttf. It is an error if the filename does not have one of these two extensions.
It is strongly recommended that the infile and outfile names be different--that is, that you do not overwrite the file that your FontForge script reads.
font-file
Deprecated. The name of a file to both read and write. The xgridfit script does not implement this parameter.
-t, max-twilight-points
The number of points permitted in the twilight zone. The default is 25, which may be high for many fonts.
-s, max-storage
The size of the Storage Area to be reserved for this font by the TrueType engine. The default is to reserve space for 64 32-bit numbers. Xgridfit reserves 24 of these for its own use (and so this value can never be less than 24), leaving 40 available for user-defined variables. Raise this number if you are likely to have more than 40 variables in use at any one time: lower it if you use fewer variables.
-a, max-stack
The amount of memory reserved for the TrueType runtime stack. The default is 256: increase this if you sometimes write <delta> or <control-value-delta> elements containing a great many <delta-set> elements.
-q, silent-mode
The xgridfit parameter does not take a value: when the parameter is present, silent mode is used. The long form of the parameter requires a value, true() or false(). When true(), messages like "Compiling glyph Adieresis" are suppressed. This can lead to significant increases in program speed. Warnings and error messages are still displayed. The default is false().
-b, delta-break
The maximum number of <delta-set> elements that can be pushed onto the stack at one time. If more elements than this are included in a single <delta> or <control-value-delta>, several push instructions are used instead of one.
-g, glyph-select
Use this parameter to tell Xgridfit to compile one or more glyphs, ignoring all others. The names of glyphs must be separated by "+" signs.