Graphics

Based on image format capabilities, both simple palette transparency (e.g. TRNs chunk of PNG) and alpha channel based transparency are supported in S60.

Image sizes

No hard coded limitations exist on supported image sizes. Many applications tend to use images that may be significantly larger than the size of a screen.

When the MIDlet tries to display an image that does not match the reserved space the following methodology is used to enforce the layout:

  • If the image is smaller than the reserved space, the image is centered in the space.

  • If the image is bigger than the reserved space, the part that fits the area from the top left corner of the image is shown, rest is clipped.

  • Images are not scaled.

Font sizes

MIDP LCDUI Font class provides three different sizes for font: SMALL, MEDIUM, and LARGE. Corresponding pixel sizes vary between different resolutions. In addition to resolution variety, different language variants may have their own restrictions. For example, some variants do not support bold and/or italic fonts. In some cases, small font size can appear equal to medium size.

Note: The pixel size values in 'Font sizes' column refer to the text row height. This value equals to the value returned by Font.getHeight method.