Re: [Gnustep-cvs] r30188 - in /libs/back/trunk: ChangeLog Source/winlib/WIN32FontInfo.m

2010-04-19 Thread Fred Kiefer
Am 19.04.2010 03:23, schrieb Eric Wasylishen: > Author: ericwa > Date: Mon Apr 19 03:23:30 2010 > New Revision: 30188 > > URL: http://svn.gna.org/viewcvs/gnustep?rev=30188&view=rev > Log: > winlib/WIN32FontInfo.m: Use DEFAULT_QUALITY for fonts > > Modified: > libs/back/trunk/ChangeLog > l

Re: [Gnustep-cvs] r30188 - in /libs/back/trunk: ChangeLog Source/winlib/WIN32FontInfo.m

2010-04-21 Thread Eric Wasylishen
How does this look: defs = [NSUserDefaults standardUserDefaults]; if ([defs objectForKey: @"GSFontAntiAlias"] != nil && [defs boolForKey: @"GSFontAntiAlias"] == NO) { logfont.lfQuality = NONANTIALIASED_QUALITY; } else { logfont.lfQuality = DEFAULT_QUALITY; }

Re: [Gnustep-cvs] r30188 - in /libs/back/trunk: ChangeLog Source/winlib/WIN32FontInfo.m

2010-04-21 Thread Fred Kiefer
The code looks OK to me. But is the result what you want to achieve? I could see us using three cases here. The variable GSFontAntiAlias not being set means use the standard behaviour, that is DEFAULT_QUALITY. If it is set to NO, we use NONANTIALIASED_QUALITY and if it is set to YES we use ANTIALIA