control font smoothing in an app
control font smoothing in an app
- Subject: control font smoothing in an app
- From: Craig Hunter <email@hidden>
- Date: Fri, 20 May 2005 00:09:43 -0400
I need to enforce "standard" font smoothing in my app, regardless of what a
user has set for their system-wide smoothing prefs -- my app has a lot of
light text on a dark background, and standard smoothing (which is straight
antialiasing without subpixel smoothing) is the only mode that looks good.
I know various apps and components in the OS do the same thing (the
Dashboard in 10.4, for instance, enforces standard smoothing no matter what
the user has specified) so there must be a way to do it with any app.
I found a couple suggestions in the archives about controlling this in a
graphics context, but nothing that seems to apply my case (or work). So,
I'm wondering, what is the easiest way to control smoothing of a basic app?
I set up a custom NSWindow in code for my main window, but the rest of the
app functions based on connections between widgets in IB and some
AppleScript code. So any control of the smoothing would have to tie in with
the implementation of main window.
thanks,
Craig
--
Dr. Craig A. Hunter
NASA Langley Research Center
AAAC / Configuration Aerodynamics Branch
(757) 864-3020
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden