22 Wireless Toolkit Basic Customization Guide December 2003
..
ascii_x-254 = 1149
ascii_x-255 = 1154
ascii_x-256 = 1160
Note – This type of font supports only eight bit ASCII values (256 characters) and
not 16 bit unicode characters.
Font Underlining
The MIDP specification allows underlined fonts. By default, the emulator supports
font underlining. Youcan disable this feature for all fonts by setting the property:
font.all.underline.enabled = false
It is also possible to disable underlining for a specific font by setting the property:
font.<face>.<style>.<size>.underline.enabled = false
Where
face, style
and
size
are as described in “Fonts Used by the MIDP APIs”
on page 19.
It is possible to specify the thickness of the line used for underlining by a line of
the form:
font.<face>.<style>.<size>.underline.width = <width in pixels>
The default width of the line is one pixel for plain and italic font styles and two
pixels for the bold font style.
It is also possible to specify the distance of the line used for underlining from the
font baseline by a line of the form:
font.<face>.<style>.<size>.underline.offset = <offset from baseline in
pixels>
The default offset is one pixel for all fonts.
The Device Image
Tospecify the device image, you need to specify three separate device graphic
images. These image files should differ only in their representationof active
buttons (those buttons that are to be used in the emulation of the device in the
J2ME WirelessToolkit).
The image files are:
A base image with all active buttons in a neutral state (not pressed or
highlighted)