The font definition is according to the format for describing a system font (see “System Fonts” on page 20) or a bitmap font (see “Bitmap Fonts” on page 20).
Example
font.system.italic.small:
The default font (see “Default Font”) is used for any MIDP font combination that is not defined.
Default Font
A default font must be specified. This font is used in all cases where no other definition was given.
The default font is specified as follows:
font.default = <font_properties_filename> <system font definition>
Example
font.default =
System Fonts
A system font definition is in the standard Java format for specifying such a font. For details, see
http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html.
You can tell the Emulator to use the resident PC fonts to display text on the device screen.
Use the font specification in the form:
font.<name> = <system font definition>
Example
font.softButton =
Bitmap Fonts
To tell the Emulator to use a bitmap font, you need to specify a font property file that describes the font:
font.<font_name> = <font_property_filename>