BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-18-2009, 01:24 AM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: aircel
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to create custom font in BlackBerry Application

Please Login to Remove!

How to create custom font(my own font) in blackberry application. I want to create my own font(like a symbol) and use that font in my application . Currently I am using BlackBerry JDE 4.7.0 for development. Its possible to create custom font using RIMlet's api or Midlet's api thats run in Blackberry application.
Offline  
Old 06-18-2009, 07:43 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile Custom Font in BlackBerry

Hi Manickam

Here are some useful links that I think may help you in this regard.
Please go through these and update here if you find a solution.

Forum Link : Using Custom Fonts

BB News Letter Link : Blackberry | Developer Nesletter
__________________
Regards
Anand.

Last edited by Ananthasivan V K : 06-18-2009 at 07:44 AM. Reason: misspelt the word find.
Offline  
Old 06-18-2009, 08:20 AM   #3 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: aircel
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Anand. I will try and inform.
Offline  
Old 06-19-2009, 12:46 AM   #4 (permalink)
New Member
 
Join Date: Jan 2008
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

BlackBerry JDE 4.7.0 API Reference

Great resource.

CTRL-F (Find Text): Font

it will give you the font class.

here is some example code when using Font in a paint method.

Code:
Font f = Font.getDefault().derive(Font.PLAIN, 18);
graphics.setFont(f);
graphics.setColor(Color.WHITE);
graphics.drawText("FUEL", 262, 0);
here is an example ("FUEL" top right):

__________________
My Dev Site: Roboconn.com Get my new OTA apps and games, some free -some not. BB friendly.
Offline  
Old 06-19-2009, 02:02 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Custon Fonts

Hi Bob

These won't let you to create a font of your's. This will only let you use those fonts that are actually installed (comes with blackberry or built-in fonts) in BB.
Here we want to know if how can we create our own new fonts/ locale fonts.
__________________
Regards
Anand.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.