Disable antialiasing inside Xcode?

半城伤御伤魂 提交于 2019-11-29 06:23:04
Evan

For Xcode 3.x the necessary terminal command is:

defaults write com.apple.xcode AppleAntiAliasingThreshold <some integer value>

For Xcode 4 & 5 it is:

defaults write com.apple.dt.Xcode AppleAntiAliasingThreshold <some integer value>

For Xcode 6 you may first need to enter the following at a terminal console:

defaults write com.apple.dt.Xcode NSFontDefaultScreenFontSubstitutionEnabled YES

Then, as per usual:

defaults write com.apple.dt.Xcode AppleAntiAliasingThreshold <some integer value>

Using AppleAntiAliasingThreshold 24 should get you what you want.

bigglestix

so this does work, but in order for it to take effect, you must:

go to preferences->appearance and change "turn off text smoothing for font sizes" and set the font pt. size.

other commands that are helpful:

defaults -currentHost write .GlobalPreferences AppleSmoothFontsSizeThreshold -int 16

defaults -currentHost write .GlobalPreferences AppleFontSmoothing -int 0

also, if you just want to change a specific application, instead of everything, this does the trick:

defaults write com.apple.safari AppleSmoothFixedFontsSizeThreshold -int 16

defaults write com.apple.safari AppleSmoothFontsSizeThreshold -int 16

defaults write com.apple.safari AppleAntiAliasingThreshold -int 16

this will turn off anti aliasing for any font that is smaller than size 16.

I had this same problem for editing code, took me ages to work it out.

Also, you can change any application you want, just check out your installed apps, from a command terminal cd to ~/Library/Preferences and then ls to see the referencable names of installed apps.

Hope this helps someone!

defaults write com.apple.dt.Xcode AppleAntiAliasingThreshold 24 definitely works !

Many thanks for this : on my CRT, antialiasing = blurring. So, like Jaime Chan, i used to turn off antialias in xcode 3.x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!