Sublime Text / Spyder / Text-antialiasing Windows [英] Sublime Text / Spyder / Text-antialiasing Windows

查看:221
本文介绍了Sublime Text / Spyder / Text-antialiasing Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简而言之,我无法让Spyder中的文本看起来与Sublime Text一样好。 (与Sublime相比,我与PyCharm有相同的基本问题)。

In a nutshell, I can't get text in Spyder to look nearly as good as Sublime Text. (I have the same basic problem with PyCharm in comparison to Sublime, as well).

下面是相同文件的图片(Sublime left,Spyder right),side在两个程序中,相同的字体(源代码专业版,13分),两个都运行Monokai Extended Bright,我进去并调整了一点,以尽可能地匹配颜色。 ClearType已开启。

Below is a pic of the same file (Sublime left, Spyder right), side by side in both programs, same font (Source Code Pro, 13 points), both running Monokai Extended Bright, which I went in and tweaked a little to get the colors to match as much as possible. ClearType is on.

有什么可以做文本 - 请原谅双关语 - 更多Sublime?有些程序似乎有很好的字体渲染(Sublime,Cmder / Conemu和cmd.exe),其他程序没那么多。显然可以在Windows上使文本看起来很好,有没有什么可以从用户级别来修复它?

Is there anything that can be done to make text - pardon the pun - more Sublime? Some programs seem to have good font rendering (Sublime, Cmder/Conemu with cmd.exe), others not so much. It's clearly possible to make the text look good on Windows, is there anything that can be done from a user-level to fix it?

推荐答案

除了再次运行整个Clear Type设置(我建议这样做,最近帮助了我很多),你无法修改单个程序渲染文本的方式。一些Windows程序与Windows库相关联,用于呈现文本和图形(我相信有一些可供选择的版本,以及不同的版本,因此它们之间的性能可能因您的硬件和软件而有很大差异),而其他利用第三方库或像Sublime一样,自己动手。应该知道的人们在网上的普遍共识是,Sublime Text的创建者Jon Skinner用C ++编写了自己的GUI库,这是Sublime体积小,速度快的原因之一 - 只需要那些需要的功能,而不是整个厨房水槽。 各种中的注释开发构建表明他已经调整了很多,所以我认为性能会越来越好。 PyCharm的作者可能没有Skinner对字体渲染的痴迷程度,并且他们的图形引擎无论如何都可能没有那种级别的调整能力。

Aside from running through the entire Clear Type setup again (which I'd recommend doing, it helped me out a lot recently), there's not much you can do to modify how individual programs render text. Some Windows programs tie in to the Windows libraries for rendering text and graphics (and I believe there are a number to choose from, as well as different versions, so performance among them may vary considerably depending on your hardware and software), while others either take advantage of third-party libraries or, like Sublime, roll their own. The general consensus online from people who should know is that Jon Skinner, the creator of Sublime Text, wrote his own GUI library in C++, one of the reasons for Sublime's small size and speed - only the functions that are needed are there, not the whole kitchen sink. Notes in the various dev builds indicate that he's tweaked it quite a bit, so I would imagine the performance is just getting better. PyCharm's authors likely don't have Skinner's level of obsession with font rendering, and their graphics engine may not have that level of tuning capability at any rate.

这篇关于Sublime Text / Spyder / Text-antialiasing Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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