在 Xcode 中禁用抗锯齿? [英] Disable antialiasing inside Xcode?

查看:38
本文介绍了在 Xcode 中禁用抗锯齿?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Xcode 的代码编辑器中禁用抗锯齿功能,而不是在系统范围内禁用抗锯齿?

How does one disable antialiasing inside the code editor in Xcode, but not system-wide?

推荐答案

对于 Xcode 3.x,必要的终端命令是:

For Xcode 3.x the necessary terminal command is:

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

对于 Xcode 4 &五是:

For Xcode 4 & 5 it is:

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

对于 Xcode 6,您可能首先需要在终端控制台输入以下内容:

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

defaults write com.apple.dt.Xcode NSFontDefaultScreenFontSubstitutionEnabled YES

然后,像往常一样:

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

使用 AppleAntiAliasingThreshold 24 应该可以满足您的需求.

Using AppleAntiAliasingThreshold 24 should get you what you want.

这篇关于在 Xcode 中禁用抗锯齿?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆