BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-03-2005, 05:36 AM   #1 (permalink)
New Member
 
Join Date: Sep 2005
Model: 7290
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to Generate a font?

Please Login to Remove!

Im new in BlackBerry. Previously im working on J2ME. Now here I can't get the exact method of creating a Font with Specified FAMILY,STYLE & SIZE,
using a BlackBerry native APIs, not J2ME PAIs.

Thanks
Chetan

Last edited by chetansawant : 10-03-2005 at 05:40 AM.
Offline  
Old 10-06-2005, 01:22 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2005
Location: Portland, OR., USA
Model: 9800
Carrier: AT&T
Posts: 82
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here ...

try {
fontFamily = FontFamily.forName("BBMillbankTall");
}
catch (Exception e) {
}

Font myfont = fontFamily.getFont(FontFamily.SCALABLE_FONT|Font.U NDERLINED, 12).derive(Font.BOLD);

field.setFont(myfont);
Offline  
Old 10-13-2005, 05:14 AM   #3 (permalink)
New Member
 
Join Date: Sep 2005
Model: 7290
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much ecarmody.
Its working....

Chetan Sawant
Offline  
Old 11-01-2005, 06:29 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
Donna's Avatar
 
Join Date: Jun 2005
Location: Maryland
Model: 9650
PIN: t / Quart
Carrier: VZ
Posts: 203
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default

Looking to increase size of the existing font "System" which currently only goes up to 9pt. Thanks!
__________________
Donna
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

SIEMENS LANDIS & GYR - THERMOSTAT TERMINAL TUBING KIT 192-600 / 019847 *NOS*
$12.99
SIEMENS LANDIS & GYR - THERMOSTAT TERMINAL TUBING KIT 192-600  / 019847 *NOS* pictureSIEMENS DPU DEVICE PROGRAMMING UNIT 500-033260 FIRE ALARM WITH POWER SUPPLY
$650.0
SIEMENS DPU DEVICE PROGRAMMING UNIT  500-033260 FIRE ALARM WITH POWER SUPPLY pictureCATALOGUE GBC Semiconduttori-1973s-Data Sheet Semiconductor-ATES-TEXAS-SIEMENS
$38.9
CATALOGUE GBC Semiconduttori-1973s-Data Sheet Semiconductor-ATES-TEXAS-SIEMENS pictureSIEMENS 6SL3 210-1SE14-1UA0 POWER MODULE 340 6SL3 2101SE141UA0
$225.0
SIEMENS 6SL3 210-1SE14-1UA0 POWER MODULE 340 6SL3 2101SE141UA0  pictureSiemens Sinumerik Module 6FX1120-5BA01 E Stand E & 00
$191.19
Siemens Sinumerik Module 6FX1120-5BA01  E Stand E & 00 picture






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