|
#1
| ||||
| ||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
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 |