发新帖

Font anti-aliasing in Deepin 15.5 Beta

androidbrain / 2017-11-13 10:52
浏览: 190 / 回复: 3
查看: 190|回复: 3

Font anti-aliasing in Deepin 15.5 Beta

[复制链接]
收藏
跳转到指定楼层
In previous versions of Deepin, some fonts like MingLiU (Standard font in Taiwan, and it's pretty space-saving for Latin text) may look like pixel font under 12pt:
Tangkapan Layar Deepin_select-area_20171113114448.png
Now after I updated my system to 15.5 Beta, the font is rendered like this, no matter how small the text size is:
Tangkapan Layar Deepin_libreoffice_20171113114531.png
I'm not used to this. The pixel-like style looks better for me. Then how can I disable font anti-aliasing in deepin 15.5?

4

主题

712

帖子

2167

积分

drw-r--r--

Rank: 7Rank: 7Rank: 7

积分
2167
WangYaohua 超级版主 发表于 7 天前 | 显示全部楼层
Anti-aliasing is necessary to normal users, if you don't like it, you can make your own configuration, see this https://wiki.archlinux.org/index ... tion#Anti-aliasing.
Deepin Developer

0

主题

3

帖子

24

积分

-r--------

Rank: 1

积分
24
mweimann 发表于 6 天前 | 显示全部楼层
Somehow the font processing changed with the 15.5 Beta.
The fonts look wrong or the weight isn't correct.

0

主题

4

帖子

18

积分

-r--------

Rank: 1

积分
18
haybak 发表于 5 天前 | 显示全部楼层
Do that and all will be alright ;)

  1. mkdir -p $HOME/.config/fontconfig/
  2. gedit $HOME/.config/fontconfig/fonts.conf
复制代码


Then save the file with the following contents.

  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4. <match target="font">
  5.   <edit mode="assign" name="rgba">
  6.    <const>rgb</const>
  7.   </edit>
  8. </match>
  9. <match target="font">
  10.   <edit mode="assign" name="hinting">
  11.    <bool>true</bool>
  12.   </edit>
  13. </match>
  14. <match target="font">
  15.   <edit mode="assign" name="hintstyle">
  16.    <const>hintslight</const>
  17.   </edit>
  18. </match>
  19. <match target="font">
  20.   <edit mode="assign" name="antialias">
  21.    <bool>true</bool>
  22.   </edit>
  23. </match>
  24.   <match target="font">
  25.     <edit mode="assign" name="lcdfilter">
  26.       <const>lcddefault</const>
  27.     </edit>
  28.   </match>
  29. </fontconfig>
复制代码


Source : http://blog.programster.org/debian-8-gnome-desktop-improve-font-rendering
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回列表 返回版块 返回顶部