Changeset 612


Ignore:
Timestamp:
Jul 16, 2006, 4:31:31 PM (16 years ago)
Author:
livings124
Message:

create bold font in Badger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Badger.m

    r424 r612  
    4848        [stringShadow setShadowBlurRadius: 4.0];
    4949       
     50        NSFont * boldFont = [[NSFontManager sharedFontManager] convertFont:
     51                            [NSFont fontWithName: @"Helvetica" size: 28.0] toHaveTrait: NSBoldFontMask];
     52       
    5053        fAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
    5154            [NSColor whiteColor], NSForegroundColorAttributeName,
    52             [NSFont fontWithName: @"Helvetica-Bold" size: 28.0], NSFontAttributeName,
    53             stringShadow, NSShadowAttributeName, nil];
     55            boldFont, NSFontAttributeName, stringShadow, NSShadowAttributeName, nil];
    5456       
    5557        [stringShadow release];
Note: See TracChangeset for help on using the changeset viewer.