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:
parent
901721a73e
commit
7c4bde6f8a
1 changed files with 4 additions and 2 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue