M Vignesh
M Vignesh

Reputation: 1646

To set multiple fonts in blackberry

How to set multiple fonts in blackberry? Actually we are using the following code to load the custom fonts to our application.

InputStream is = this.getClass().getResourceAsStream("/Text-Italic.ttf");
FontManager.getInstance().load(is, "Text-Italic",
FontManager.APPLICATION_FONT) ;                          

If I want to set another font, Do I have to unload the current font or not?

Upvotes: 1

Views: 415

Answers (1)

Naveenan
Naveenan

Reputation: 121

No. You don't have to unload the current font. You can add another custom font.

Thanks

Naveen M

Upvotes: 2

Related Questions