Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.
How to use custom fonts in Java ME
This article is about how to use custom fonts in Java ME.
Some games and applications use some cool custom fonts in their applications. How we can do this? The solution is to use a bitmap-font solution. That is a large PNG file (or other graphic format) that have every character designed as an image. Then, you just have to read that image file and clip every character in another image. Then, to write a sentence, just read every character and draw it one after the other.
Great sample on this feature is hosted on http://developers.sun.com/mobility/midp/articles/termemulator3/