BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-16-2008, 06:07 AM   #1 (permalink)
vph
Knows Where the Search Button Is
 
Join Date: Dec 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Font.EXTRA_BOLD

Please Login to Remove!

Anyone uses that Font option ? It just changes the font to Italic. :(

Makes me remember the movie Rush Hour 3, where the kungfu master said "He is Mi and I am Yu".


--vph
Offline  
Old 01-16-2008, 06:14 AM   #2 (permalink)
BlackBerry B Boy
 
jeremyckitching's Avatar
 
Join Date: Apr 2007
Model: 9700
OS: 5.0.0.415
PIN: 215BE1F8
Carrier: T-Mobile U.S.A.
Posts: 4,243
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wirelessly posted (BlackBerry 8100: BlackBerry8100/4.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/100)

Never mind...

Last edited by jeremyckitching : 01-16-2008 at 06:15 AM.
Offline  
Old 01-16-2008, 06:33 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think so !

Code:
FontFamily fontFamily[] = FontFamily.getFontFamilies();
    Font titleLabelFont = fontFamily[3].getFont(FontFamily.SCALABLE_FONT, 30);
    Font titleFont = titleLabelFont.derive(Font.EXTRA_BOLD);
Offline  
Old 01-16-2008, 07:33 AM   #4 (permalink)
vph
Knows Where the Search Button Is
 
Join Date: Dec 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

pa4o85, do you mean you can see a different font for extra bold ?

I use similar codes to yours and go thru all possible options of Font.PLAIN, Font.BOLD, Font.EXTRA_BOLD, Under line ... and all show correctly except the EXTRA_BOLD.

Tested on 8700g simulator and on reall device 8820. Ectra Bold shows italic.

--vph
Offline  
Old 01-16-2008, 07:39 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think the problems can be two:

1) The system font on the device is different. You should check the device font. Options -> Screen/Keyboard

2) Maybe the size of the font is different. But i think this is not a problem. The text should look bold enough.
Offline  
Old 01-16-2008, 08:13 AM   #6 (permalink)
vph
Knows Where the Search Button Is
 
Join Date: Dec 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are right. I looked at my code again and there was a typo and the index was running from 0 to 63 instead of 64, which is integer value for EXTRA_BOLD.

Ah, shamed of me.


--vph
Offline  




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