fedora 字体

It is continuously discussed that some Fedora users do not like the font rendering in Fedora Linux and there are solutions to improve the font rendering with potentially non-free or non-licensed software/fonts. However, with only the open source fonts and software and little tricks, the font rendering on Fedora can be quite good. In this post, I will introduce my method to improve Fedora’s font rendering with open software and fonts only.

不断讨论的是,某些Fedora用户不喜欢Fedora Linux中的字体渲染,并且有一些解决方案可以使用潜在的非自由或未经许可的软件 / fonts来改善字体渲染。 但是,仅使用开源字体和软件以及一些技巧,Fedora上的字体渲染就可以很好。 在本文中,我将介绍仅使用开放软件和字体来改进Fedora字体渲染的方法。

First, take a look at the effect and decide whether you like it. You can proceed if you like this approach of improving the font rendering.

首先,看一下效果并决定是否喜欢它。 如果您喜欢这种改善字体渲染的方法,则可以继续进行。

fedora 字体_仅使用开放软件和字体来改进Fedora字体渲染

字体 (Fonts )

The Gnome 3 use Cantarell fonts as the interface fonts. However, I am not a big fan of the Cantarell fonts and prefer the Liberation fonts. Fedora ships Liberation fonts but ships with the Liberation font version 1 (I am using Fedora 20 now). On the other hand, the Liberation fonts version 2 is already released on its website. The version 2 of Liberation fonts, from my experience, is rendered much better than the version 1. Hence, let’s install Liberation version 2 to be used.

Gnome 3使用Cantarell字体作为界面字体。 但是,我不是Cantarell字体的忠实拥护者,而是Liberation字体。 Fedora附带Liberation字体,但附带Liberation字体版本1(我现在使用Fedora 20)。 另一方面,Liberation字体版本2已在其网站上发布。 根据我的经验,版本2的字体比版本1的字体要好得多。因此,让我们安装要使用的版本2。

First, download the tar ball from the Liberation fonts website: https://fedorahosted.org/liberation-fonts/.

首先,从Liberation字体网站下载tar球: https : //fedorahosted.org/liberation-fonts/

Second, unpack the tar ball and copy the TTFs to ~/.fonts for user wide usage, or to /usr/share/fonts/truetype/liberation for system-wide availability.

其次,解压缩tar球并将~/.fonts复制到~/.fonts以供用户使用,或复制到/usr/share/fonts/truetype/liberation以实现系统范围的可用性。

Last, run fc-cache to make the fonts cached.

最后,运行fc-cache以缓存字体。

字体渲染 (Font rendering )

After installing the Liberation fonts, we can alias the Sans, Sans-serif and etc to it. You can put a copy of the local.conf (mine can be downloaded from here) to specify the font aliasing to /etc/fonts/local.conf. Note that my local.conf contains configuration for Chinese fonts fallback. You may adapt it for your own preference.

安装Liberation字体后,我们可以为其命名Sans,Sans-serif等。 您可以放置local.conf的副本(可以从此处下载mine的副本),以将字体别名指定为/etc/fonts/local.conf 。 请注意,我的local.conf包含中文字体后备的配置。 您可以根据自己的喜好进行调整。

fedora 字体_仅使用开放软件和字体来改进Fedora字体渲染

Lastly, we can choose the fonts of Gnome 3 and tune the font rendering. To do this, you need gnome-tweak-tool which can be installed by # yum install gnome-tweak-tool.

最后,我们可以选择Gnome 3的字体并调整字体渲染。 为此,您需要gnome-tweak-tool ,可以通过# yum install gnome-tweak-tool进行安装。

For the interface fonts, I use Sans. For the hinting and Antialiasing, I use “Slight” and “Rgba”. The “Slight” hinting seems the best to my eye which hints the fonts and keep the original shape of the fonts.

对于界面字体,我使用Sans 。 对于提示和抗锯齿,我使用“ Slight”和“ Rgba”。 在我看来,“轻微”提示似乎是最好的提示,它提示字体并保持字体的原始形状。

翻译自: https://www.systutorials.com/improving-fedora-font-rendering-with-open-software-and-fonts-only/

fedora 字体

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2021-12-09
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案