• 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
Re: Turning off font smoothing in source code windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning off font smoothing in source code windows?


  • Subject: Re: Turning off font smoothing in source code windows?
  • From: Bryan Pietrzak <email@hidden>
  • Date: Mon, 22 Nov 2004 12:55:11 -0600


On Nov 21, 2004, at 3:08 AM, Alex Eddy wrote:

On Nov 20, 2004, at 12:07 PM, Bryan Pietrzak wrote:
Problem is that Xcode anti-aliases the font (when set to 9 pt) and then
the MPW font looks just terrible. I can certainly "Turn off text
smoothing for sizes 9 and smaller" in System Preferences -> Appearance,
but that's a system-wide behavior and all I want is text smoothing off
in Xcode source windows using the MPW font.


Any secret prefs I can set? :)

Not really a secret, but you can control the system's antialiasing threshold on a per-application basis.
For example:
defaults write com.apple.xcode AppleAntiAliasingThreshold 15

OK, that worked just fine. I set the threshold to 9 and now the MPW font looks great and matches BBEdit and CW's appearance.



There is another pref which is less known: AppleSmoothFixedFontsSizeThreshold. That one only affects certain fixed width fonts like Monaco. Not sure if it will work with the MPW font.

Tried that and it failed. I suspect because the MPW font is not seen as a Fixed Width font by the OS (i.e. it does not appear in the Fixed Width collection in the Font panel). I'm going to have to research how the OS determines a font is Fixed Width. Perhaps there is something that can be added to the MPW font so the OS knows it's fixed width.


I've found that antialiased 9pt ProFont is best for coding... but that's just IMHO...

Yeah, thanks, I've seen and tried ProFont. It's just hard for me to move away from the MPW font. I think I have some "visual muscle memory" that's just made me really really comfortable with the MPW font and not-so-comfortable with any other font. :)


Bryan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Turning off font smoothing in source code windows? (From: Alex Eddy <email@hidden>)

  • Prev by Date: Re: Turning off font smoothing in source code windows?
  • Next by Date: executable environment variables
  • Previous by thread: Re: Turning off font smoothing in source code windows?
  • Next by thread: c++ includes in a Framework?
  • Index(es):
    • Date
    • Thread