Cocoa Port:

- Fix font rendering weight of the Input Preferences view when running on OS X Yosemite.
This commit is contained in:
rogerman 2015-02-17 19:52:44 +00:00
parent 697c91d99a
commit 634d1ba89b
1 changed files with 2 additions and 2 deletions

View File

@ -538,7 +538,7 @@
{ {
NSFont *newFont = [[NSFontManager sharedFontManager] fontWithFamily:[[outCell font] familyName] NSFont *newFont = [[NSFontManager sharedFontManager] fontWithFamily:[[outCell font] familyName]
traits:([item isKindOfClass:[NSArray class]]) ? NSBoldFontMask : 0 traits:([item isKindOfClass:[NSArray class]]) ? NSBoldFontMask : 0
weight:0 weight:5
size:[[outCell font] pointSize]]; size:[[outCell font] pointSize]];
[outCell setFont:newFont]; [outCell setFont:newFont];
} }
@ -546,7 +546,7 @@
{ {
NSFont *newFont = [[NSFontManager sharedFontManager] fontWithFamily:[[outCell font] familyName] NSFont *newFont = [[NSFontManager sharedFontManager] fontWithFamily:[[outCell font] familyName]
traits:([item isKindOfClass:[NSArray class]]) ? NSBoldFontMask : 0 traits:([item isKindOfClass:[NSArray class]]) ? NSBoldFontMask : 0
weight:0 weight:5
size:[[outCell font] pointSize]]; size:[[outCell font] pointSize]];
[outCell setFont:newFont]; [outCell setFont:newFont];
} }