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;
}
Settting GSFontAntiAlias to NO forces non-antialiased fonts.
Otherwise, the windows system setting is used.
On Mon, Apr 19, 2010 at 3:38 AM, Fred Kiefer <[email protected]> wrote:
> 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
> > libs/back/trunk/Source/winlib/WIN32FontInfo.m
>
> In back we have the user default GSFontAntiAlias defined that could be
> used to decide whether AA fonts or normal ones should be used.
>
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev