SourceForge.net Logo Home Page Project Page Download CVS repository
infile outfile font-file xgf max-twilight-points max-instructions max-storage max-stack silent-mode delta-break

Parameters

Following is a reference list of Xgridfit parameters. These parameters are available only when you run Xgridfit by invoking an XSLT processor directly; they are not available 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.

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.

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.

max-twilight-points

The number of points permitted in the twilight zone. The default is 25, which may be high for many fonts.

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.

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.

silent-mode

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(). Note that the parentheses are required.

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.