HI,
I have a one application which display text on canvas but it display different fonts on different devices. How can i make same output on all the devices.
HI,
I have a one application which display text on canvas but it display different fonts on different devices. How can i make same output on all the devices.
If you use J2ME Fonts, you get whatever fonts the device provides. These will be different from device to device.
Most commercial games get around this by supplying their own font. A PNG image contains all the characters, and then setClip() and drawImage() are used to draw each character in turn.
Cheers,
Graham.