image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old April 25th, 2001, 02:33 AM
strobe's Avatar
Puny Member
 
Join Date: Dec 2000
Posts: 795
Thanks: 0
Thanked 0 Times in 0 Posts
strobe is on a distinguished road
Lightbulb

Before I explain how to do this I'm going to make clear that there is a HUGE difference in quality of anti-aliasing depending how the text is drawn. If it's drawn using DrawString in QuickDraw you are not getting anti-aliasing but in fact what apple called "text smoothing" which is like a one pixel blur and makes text look like you're extremely drunk. Basically it takes 72dpi rendered text and blurs it.

However text drawn by Quartz (which is to say Cocoa applications and Carbon apps using ATSUI) is anti-aliased and each pixel has it's value calculated based on distance to the edge of a bezier path.

The end result is what I loosely term Carbon text 'smoothing' makes small fonts less legible while Cocoa's anti-aliased text makes small fonts look MORE legible.

This command will set the default AA threshold to 2. This means *if* an application does not set a custom threshold it will use 2 if it's launched after this command is used:

defaults write NSGlobalDomain AppleSmoothFontsSizeThreshold 2
__________________
---
>80 column hard wrapped e-mail is not a sign of intelligent
>life
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO STOP SPAM -- join the fight! GadgetLover Apple News, Rumors & Discussion 11 April 11th, 2002 03:52 PM
AppleScript, iTunes, Mp3 Tags, idea and problem jove Software Programming & Web Scripting 0 March 11th, 2002 05:03 PM
how would I zip files? themacko Mac OS X System & Mac Software 14 February 18th, 2002 05:32 AM
Holy crap, you can drag+drop text in Cocoa strobe Apple News, Rumors & Discussion 1 June 18th, 2001 09:49 AM
UI inconsistency: Cocoa text handling strobe Mac OS X System & Mac Software 18 May 4th, 2001 10:38 AM


All times are GMT -5. The time now is 07:47 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.