fontconv - Font Conversion Utility
fontconv fontfile libraryfile
fontconv utility program compiles standard ASCII format vector font data into a
Bartels AutoEngineer font file.
fontconv accepts the font description file
fontfile as first argument. This file must have an extension of
.fon but this extension must not be included with the command line.
fontconv accepts the layout library file name
libraryfile as second argument. This file must have an extension of
.fnt but this extension must not be included with the command line.
fontconv stores the translated font data to
Bartels AutoEngineer standard font library file is named
ged.fnt. This file is stored to the BAE programs directory and contains the font(s) used by the
Input File Format
The font description file must start with the
FONT command (for defining the name of the font) and must end with the keyword
END.. Commentary text can be placed between
*/. The font description file is structured according to
POLY (0, 0), (10, 10), (10, 0) ;
<fontname> is the name of the font to be created, and where
<ord> is the ordinal ASCII number of the character (e.g., character
A would be number 65). The valid value range for
<ord> is 0..255. If the font description file contains multiple character definitions for the same
<ord> value, then
fontconv stores only the last of these definitions. Each character
CHAR) is defined by a list of polygon lines
POLY). Each polygon definition consists of a list of polygon corner point coordinates. The coordinates must be specified in positive integer units in a 32x48 point grid area. The [0,0] coordinate refers to the left bottom corner of the grid area. The valid value range for X coordinates is 0..31, and the valid value range for Y coordinates is 0..47. Each character definition can have a maximum of up to 32 corner points.
Font description file
test.fon containing definitions for
" (with 4 corner points and 2 polygons each):
/* Library font name */
/* ASCII code 33 for '!' */
/* Lower vertical line */
/* Upper vertical line */
/* ASCII code 34 for '"' */
/* Left line */
/* Right line */
The font description file listed above can be transferred to the font library file
ged.fnt by applying
fontconv as in
> fontconv test ged
ged.fnt -- BAE font library file (in BAE programs directory)
The error messages issued by
fontconv are intended to be self-explanatory.
fontconv overwrites existing fonts in the destination file without any comment.