Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: James Quick <email@hidden>
- Date: Mon, 21 Jul 2003 11:07:30 -0400
On Monday, July 21, 2003, at 04:19 AM, Francisco Tolmasky wrote:
How do you turn off anti-aliasing in fonts (smoothing) for a textview?
(As, for example, is done in Project Builder and BBEdit).
Text Smoothing is designed to be controlled by a threshhold value
rather than and on/off switch.
Global preference for this value is in the General panel of System
Preferences. You can, of
course, also implement an application specific default as well.
Here is a quote from an article:
here are four minimum size thresholds for Core Graphics font rendering,
expressed as NSUserDefaults/CFPreferences. They can be set for the
system (NSGlobalDomain) or per-application: AppleAntiAliasingThreshold,
AppleSmoothFontsSizeThreshold, AppleSmoothFixedFontsSizeThreshold and
AppleSmoothAdvanceSizeThreshold. Some applications, such OmniWeb,
provide direct control themselves. The on-off switch is
CGFontDisableAntialiasing (in the CoreGraphics domain, set to YES or
NO).
The full article is here:
http://web.sabi.net/log/stories/2002/02/04/macOsX1012FontRendering.html
It has more of a carbon focus than cocoa, but discusses the topic from
both sides
pretty lucidly.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >(no subject) (From: Francisco Tolmasky <email@hidden>) |