简体   繁体   English

如何使Emacs 24呈现Sublime Text 2之类的字体?

[英]How to make Emacs 24 render font like Sublime Text 2?

The following graph shows a comparison between Sublime Text 2 (left) and Emacs 24 (right, installed from homebrew) on how they render texts on my Mac. 下图显示了Sublime Text 2(左)和Emacs 24(右,从自制软件安装)之间在Mac上如何呈现文本的比较。 They all use Monaco with normal weight, but as you can see, Emacs renders text in a somewhat aliased way. 它们都以正常的重量使用摩纳哥,但是如您所见,Emacs以某种别名的方式呈现文本。 The problem didn't show up when I was using Emacs 23 on my Mac. 当我在Mac上使用Emacs 23时,问题没有出现。 I'm wondering if there is any way to fix it. 我想知道是否有任何方法可以解决它。

字体渲染

I fix the problem by using compiled Emacs For Mac OS X instead, and it renders texts well. 我通过使用Mac OS X的已编译Emacs来解决此问题,它可以很好地呈现文本。 The Emacs version I mentioned in the question was built from git repository, I guess that was the problem since it was too cutting edge. 我在问题中提到的Emacs版本是从git存储库构建的,我想这就是问题所在,因为它太前沿了。

Update: 更新:

The bug seems to be introduced in the latest Emacs build, see report #11484 #12996 #13106 . 该错误似乎是在最新的Emacs版本中引入的,请参见报告#11484 #12996 #13106

只需升级到Emacs 24.3,他们便修复了该错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM