解决方法很简单,操作如下:
修改/etc/fonts/conf.d/49-sansserif.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans-serif</string>
</edit>
</match>
</fontconfig>

将上面的红色的内容改为:

<string>sans</string>

保存一下,在firefox里刷新一下,问题就解决了

相关文章:

  • 2022-12-23
  • 2021-10-21
  • 2021-08-02
  • 2021-10-25
  • 2021-10-25
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-24
  • 2021-11-11
  • 2022-01-11
  • 2021-11-08
  • 2021-12-10
  • 2021-12-04
相关资源
相似解决方案