ubuntu字体平滑_在Ubuntu Linux上启用平滑字体

在Ubuntu Linux上,默认未开启字体平滑选项,通过编辑家目录中的.fonts.conf文件并输入XML数据,可以启用字体平滑,提升字体的阅读体验。用户需注销并重新登录以查看效果。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ubuntu字体平滑

ubuntu字体平滑

Ubuntu Linux has an option for font smoothing that isn’t turned on by default for some strange reason. This makes fonts significantly smoother, enough to be very noticable.

Ubuntu Linux有一个用于字体平滑的选项,由于某些奇怪的原因,默认情况下该选项未打开。 这使字体更加平滑,足以引起人们的注意。

To enable this option, you need to edit the .fonts.conf file in your home directory. To create and open the file, run this command and paste in the xml data below it.

要启用此选项,您需要在主目录中编辑.fonts.conf文件。 要创建并打开文件,请运行此命令并粘贴在其​​下面的xml数据中。

gedit ~/.fonts.conf

gedit〜/ .fonts.conf

Paste in this text:

在此文本中粘贴:

<?xml version=”1.0″ ?> <!DOCTYPE fontconfig SYSTEM “fonts.dtd”> <fontconfig> <match target=”font”> <edit name=”autohint” mode=”assign”> <bool>true</bool> </edit> </match> </fontconfig>

<?xml version =“ 1.0”?> <!DOCTYPE fontconfig SYSTEM“ fonts.dtd”> <fontconfig> <match target =“ font”> <edit name =“ autohint” mode =“ assign”> <bool> true < / bool> </ edit> </ match> </ fontconfig>

You’ll have to log out and back in to see the difference.

您必须注销然后再登录才能看到区别。

Here’s an image of the before:

这是以前的图像:

And here’s an image of the after:

这是之后的图像:

Definitely looks smoother, and is much more readable on my laptop screen.

绝对看起来更流畅,并且在我的笔记本电脑屏幕上可读性更高。

Tested on: Ubuntu Dapper and Ubuntu Edgy.

经过测试:Ubuntu Dapper和Ubuntu Edgy。

Update: Some angry people on digg have pointed out that the original source for this was this Ubuntu Forums post. While I didn’t find it there, I’m going to link back to it, just to be fair.

更新:digg上的一些愤怒人士指出,此问题的原始来源是Ubuntu论坛帖子 。 虽然我在那里找不到,但为了公平起见,我将链接回它。

翻译自: https://www.howtogeek.com/howto/ubuntu/enable-smooth-fonts-on-ubuntu-linux/

ubuntu字体平滑

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值