SCALFONT Utility

The SCALFONT utility is a Win32 console program that creates a new font file whose characters are smaller or larger than those of an existing font file. The syntax of the command for running SCALFONT from the DOS command prompt is

SCALFONT fgf_infile fgf_outfile factor [kerning]

where fgf_infile is the name of the original font file, fgf_outfile is the name of the resulting scaled font file, and factor is the scaling factor, expressed as a percentage of the original font size. For instance, a scaling factor of 50 will produce a font whose characters are half the size of the original, and a scaling factor of 120 would create a font whose characters are 20% larger than the original. The optional kerning parameter defines the number of blank pixels added to the right edge of each character; the default value is 1.

We do not recommend using SCALFONT on FGF files that were created by importing a TrueType font into FGFedit. You'll get better results by re-importing the TrueType font into FGFedit at a smaller or larger point size.

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.