Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forcing text smoothing for static text controls



That is correct. There are another reasons for letting the user define the antialiasing for instance, in different scripts, the threshold needs adjustment due to the detail of the individual glyphs. Antialiasing for these scripts reduces the glyph images to a blob. That being said, sometimes developers do have real needs to manipulate the antialiasing and ATSUI will let you control this on a style run or layout basis using the style and layout attribute option bits (see ATSUnicodeTypes.h and ATSLayoutTypes.h headers). You can also pass these down to ATSUI at the TXN controls level via TXNSetTypeAttributes and TXNSetTXNObjectControls.

Dan

On Nov 30, 2004, at 2:32 PM, email@hidden wrote:
On Nov 30, 2004, at 3:31 PM, Jim Matthews wrote:

I have some static text controls that look bad when the "Turn off text
smoothing for font sizes X and smaller." setting in the Appearance (on
Panther) or General (on Jaguar) panel of System Preferences is set too
high.  Is there a way to force text smoothing to be used for these
controls, regardless of the setting in System Preferences?

My advice would be that you shouldn't override the user's settings that way. Even if they look bad to you with the antialiasing off, they may not look bad to someone who has a vision problem.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.