• 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
disabling font smoothing...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: disabling font smoothing...
      • From: Jeff Harrell <email@hidden>
  • Prev by Date: System serial number
  • Next by Date: Re: NSDocument Default Contents
  • Previous by thread: Re: System serial number
  • Next by thread: Re: disabling font smoothing...
  • Index(es):
    • Date
    • Thread