首先在 Advance Setting 的 font 标签页下做如下配置:

解决Debian-7.1下Chrome浏览器字体难看的问题


然后在用户目录下创建 .fonts.conf 文件,内容如下:

 

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
<!--
***** 
***** The following section was missing.
***** Adding it fixed web page fonts in Chrome.
*****
-->
 <match target="font">
  <edit name="autohint" mode="assign">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>


重新打开Chrome,字体问题解决。

 

 

相关文章:

  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-11-29
猜你喜欢
  • 2021-07-28
  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2021-07-30
相关资源
相似解决方案