• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: (no subject)
      • From: Ben Dougall <email@hidden>
References: 
 >(no subject) (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: determining encoding on documents
  • Next by Date: error load file
  • Previous by thread: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread