Page MenuHomeSolus

`serif` font family defaults to `Clear Sans` instead of a serif font
Open, NormalPublic


Fontconfig selects Clear Sans as the default serif font.

$ fc-match serif
ClearSans-Regular.ttf: "Clear Sans" "Regular"

This seems to be caused by a misconfiguration in fontconfig


<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  <its:rules xmlns:its="" version="1.0">
    <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>

  <description>Set preferable fonts for Latin</description>
			<family>Clear Sans</family>

Additionally, the default sans-serif family font is also Clear Sans instead of Noto Sans.

$ fc-match sans-serif
ClearSans-Regular.ttf: "Clear Sans" "Regular"

Event Timeline

saintdev created this task.Feb 16 2020, 6:40 AM
DataDrake triaged this task as Normal priority.Feb 16 2020, 4:13 PM
DataDrake edited projects, added Software; removed Lacks Project.
DataDrake added a subscriber: DataDrake.

To be clear, Firefox and fontconfig are both behaving correctly. It's more that the system defaults aren't being conveyed to fontconfig.