gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eric Wasylishen
Subject: Re: [Gnustep-cvs] r30188 - in /libs/back/trunk: ChangeLog Source/winlib/WIN32FontInfo.m
Date: Wed, 21 Apr 2010 12:58:05 -0600

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 <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]