A number of font information statements can be defined. Each statement has the following syntax:
FontInfo font-height-label
MaxNormalCharWidth char-width
Ascent ascent
code-section-clause-list
EndFontBitMap
Note the following points:
font-height-label is used by typeface statements to refer to the font bitmap
char-width is the maximum normal character width, in pixels
ascent is the character cell ascent, in pixels
code-section-clause-list is a list of one or more code sections
A code-section-clause has the following syntax:
CodeSection code-point-start code-point-end
char-width-clause-list
EndCodeSection
A code-section-clause provides width information for characters in the range code-point-start to code-point-end. The width of each
character in this range is defined by a char-width-clause. Each successive char-width-clause defines successive characters in
ascending numerical order through the range. There must be precisely the required number of char-width-clauses,
i.e. the value of code-point-end - code-point-start + 1
, unless the font is monospaced, in which case only one char-width-clause, for the first
character in the range, is necessary, as all characters in the range will be defined to have this width.
FontInfo Courier12
MaxNormalCharWidth 30
Ascent 40
CodeSection 0:255
0:30
EndCodeSection
EndFontInfo