disabling font smoothing...
disabling font smoothing...
- Subject: disabling font smoothing...
- From: Philip George <email@hidden>
- Date: Mon, 14 Jul 2003 21:47:55 -0500
(I got no responses after 2 days on omnigroup.com, so pardon the
quasi-crosspost)
I searched the entire downloadable mail archive from omnigroup's website and
the lists.apple.com carbon and cocoa online archives, but can't find any
code that works.
I want to turn OFF font smoothing entirely in my application.
I'm calling these functions from the initter of my app's primary class.
I have also tried calling them from main() just before calling
NSApplicationMain(), but no dice.
Why aren't they disabling font smoothing?
What do I need to do?
SetAntiAliasedTextEnabled(0, 0);
CGContextSetShouldAntialias([[NSGraphicsContext currentContext]
graphicsPort], 0);
CGContextSetShouldSmoothFonts([[NSGraphicsContext currentContext]
graphicsPort], 0);
Thanks.
- Philip
_______________________________________________
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.