如何在 Mac 上的Textmate 2 (右)等括号(左)中选择非抗锯齿字体?
问问题
617 次
2 回答
0
There is no 'flick of the switch'-option available I'm afraid. But there might be a solution;
Another thing you can try, as @larz alluded to, is changing the antialiasing setting>
- Inside the Brackets install folder, open www/styles/brackets.less (replace "www" with "src" if you're cloning from Git rather than installing the distro).
- Comment out the line that says -webkit-font-smoothing: antialiased;
- Save, and restart Brackets
U must admit I have not tested this, but it makes sense.
Source: GitHub: adobe/brackets/Code Editor font not clear on Linux #6094
于 2014-11-11T08:15:27.717 回答
0
-webkit-font-smoothing
您可以通过在您选择的主题中关闭来使用别名字体。
- 去
Help > Show Extensions Folder
- 打开
User
文件夹 - 打开要更新的主题目录
- 打开
css
orless
文件(通常是main.less
)
然后将以下代码添加到脚本末尾:
*{-webkit-font-smoothing: none!important;}
保存文件,您应该会立即看到字体切换。
如何呈现别名字体也可能在某种程度上取决于您的 OSX 默认设置。
您可以尝试使用以下设置获得满意的结果:
"Apple Global Domain" = {
AppleAntiAliasingThreshold = 100;
AppleFontSmoothing = 0;
AppleSmoothFixedFontsSizeThreshold = 100;
}
如果全局设置这些属性确实改变了一些事情,您可以尝试专门为括号应用程序设置它们。
于 2016-08-30T20:25:24.683 回答