Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 43
Registered: ‎05-12-2009
My Device: Not Specified

Need to use Custom Font

[ Edited ]

Hi ,

        Since i need to develope applcation for one the brand they need only there Registered Font to be used in application.

 

Please let me know ,if some one can help to get ."How can i use custom font in bb app ?" i need to cover from 4.3 onwards

 

 

ajay

Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Need to use Custom Font

Up until and including 4.7 you cannot use custom fonts... easily. You need to make a bitmap font, then create your own drawString function that will use the bitmap font to draw the chars to the screen. If you have 5.0 or greater then you can load your own TrueType font and use it as you would any other font.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
New Developer
Posts: 43
Registered: ‎05-12-2009
My Device: Not Specified

Re: Need to use Custom Font

How can i use BMF files in BB to devleop my app?

 

ajay

Developer
Posts: 696
Registered: ‎12-02-2008
My Device: Not Specified

Re: Need to use Custom Font

Hi,

 

Have a look at this link from j2me section

 

http://developers.sun.com/mobility/midp/articles/termemulator3/

 

you can take an idea how to use it.

Regards,
Rajat Gupta.
--------------------------------------------------------------------------------
If your problem was get solved then please mark the thread as "Accepted solution" and kudos - your wish