1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-06 19:48:15 +00:00

create bold font in Badger

This commit is contained in:
Mitchell Livingston 2006-07-16 16:31:31 +00:00
parent 901721a73e
commit 7c4bde6f8a

View file

@ -47,10 +47,12 @@
[stringShadow setShadowOffset: NSMakeSize(2.0, -2.0)];
[stringShadow setShadowBlurRadius: 4.0];
NSFont * boldFont = [[NSFontManager sharedFontManager] convertFont:
[NSFont fontWithName: @"Helvetica" size: 28.0] toHaveTrait: NSBoldFontMask];
fAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
[NSColor whiteColor], NSForegroundColorAttributeName,
[NSFont fontWithName: @"Helvetica-Bold" size: 28.0], NSFontAttributeName,
stringShadow, NSShadowAttributeName, nil];
boldFont, NSFontAttributeName, stringShadow, NSShadowAttributeName, nil];
[stringShadow release];