[Bug 258293] www/firefox (1729109) The preferred default font is no longer used, for some sites, following an upgrade from Firefox 91.0.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Sep 2021 23:16:14 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258293

Sean Farley <scf_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scf_at_FreeBSD.org

--- Comment #3 from Sean Farley <scf_at_FreeBSD.org> ---
It is possibly the new support in Firefox of the `system-ui` font: 
https://bugzilla.mozilla.org/show_bug.cgi?id=1226042

For me, it defaults to the `Cantarell` family:

  $ fc-match ':family=system-ui'
  Cantarell-Regular.ttf: "Cantarell" "Regular"

My "fix" was to associate `system-ui` with another font family in
~/.config/fontconfig/fonts.conf:  

<fontconfig>
...
        <alias>
                <family>system-ui</family>
                <prefer>
                        <family>Liberation Sans</family>
                </prefer>
        </alias>

...
</fontconfig>

I use only a window manger, so there is, or should be, nothing else involved.

A couple more bugs that may be useful:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1545745
- https://bugzilla.mozilla.org/show_bug.cgi?id=1728086

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Sep 08 2021 - 23:16:14 UTC

Original text of this message