To set multiple fonts in blackberry
Asked Answered
P

1

1

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?

Pneumatometer answered 3/7, 2012 at 11:21 Comment(1)
How to unload the current font and set the another one font....Pneumatometer
P
2

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

Thanks

Naveen M

Prohibitory answered 13/7, 2012 at 18:52 Comment(1)
S that file size 90 and above ttf files not able to load a?Pneumatometer

© 2022 - 2024 — McMap. All rights reserved.