Cocoa Port:
- Fix font rendering weight of the Input Preferences view when running on OS X Yosemite.
This commit is contained in:
parent
697c91d99a
commit
634d1ba89b
|
@ -538,7 +538,7 @@
|
|||
{
|
||||
NSFont *newFont = [[NSFontManager sharedFontManager] fontWithFamily:[[outCell font] familyName]
|
||||
traits:([item isKindOfClass:[NSArray class]]) ? NSBoldFontMask : 0
|
||||
weight:0
|
||||
weight:5
|
||||
size:[[outCell font] pointSize]];
|
||||
[outCell setFont:newFont];
|
||||
}
|
||||
|
@ -546,7 +546,7 @@
|
|||
{
|
||||
NSFont *newFont = [[NSFontManager sharedFontManager] fontWithFamily:[[outCell font] familyName]
|
||||
traits:([item isKindOfClass:[NSArray class]]) ? NSBoldFontMask : 0
|
||||
weight:0
|
||||
weight:5
|
||||
size:[[outCell font] pointSize]];
|
||||
[outCell setFont:newFont];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue