Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable anti-aliasing of code view in XCode

Tags:

xcode

Is there any way to get XCode to render text in the editor with anti-aliasing enabled? I can't see anything in the preferences dialog that would do it.

like image 993
U62 Avatar asked Dec 31 '08 22:12

U62


1 Answers

XCode text is already anti-alaised. Check to make sure the font size is larger than specified in:

System Preferences -> Appearance.

If it is larger than that you can try this command at the command line to edit the application setting for xcode.

defaults write com.apple.xcode AppleAntiAliasingThreshold -int <font-size>
defaults write com.apple.xcode AppleSmoothFontsSizeThreshold -int <font-size>
like image 192
Adam Peck Avatar answered Sep 30 '22 04:09

Adam Peck