×
Namespaces

Variants
Actions
Revision as of 13:13, 15 March 2014 by lpvalente (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to use custom fonts in Java ME

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: firt (15 Apr 2007)
Last edited: lpvalente (15 Mar 2014)

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/

This page was last modified on 15 March 2014, at 13:13.
54 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×