From 634d1ba89b62c41a1241a36f235bf649919ba181 Mon Sep 17 00:00:00 2001 From: rogerman Date: Tue, 17 Feb 2015 19:52:44 +0000 Subject: [PATCH] Cocoa Port: - Fix font rendering weight of the Input Preferences view when running on OS X Yosemite. --- desmume/src/cocoa/userinterface/inputPrefsView.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/cocoa/userinterface/inputPrefsView.mm b/desmume/src/cocoa/userinterface/inputPrefsView.mm index 1ed66868a..8c5543840 100644 --- a/desmume/src/cocoa/userinterface/inputPrefsView.mm +++ b/desmume/src/cocoa/userinterface/inputPrefsView.mm @@ -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]; }