This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox choose wrong Serif fonts

  • 4
  • 1 nwere nsogbu anwere nsogbu a
  • 27 views
  • Nzaghachi ikpeazụ nke MayKiller

more options

In every site, 'Serif' is showed 'Sans-Serif'.

I have some 'Serif' fonts in my system.

And not change font settings in [Preferences -> Content -> Fonts & Colors]

Firefox choose 'Sans Serif' -> 'Cantarell' to show 'Serif'

And choose 'Serif' -> 'Alegreya' to show some unknown font

images: Web font-family is Serif : https://img.vim-cn.com/6b/7373d088cb06602715c7ad45080ac1a477d773.png Firefox choose is Sans : https://img.vim-cn.com/6b/7373d088cb06602715c7ad45080ac1a477d773.png System font config : https://img.vim-cn.com/35/1927b0ddf96fe1e478c1eab1cca4ca4082cd08.png

In every site, 'Serif' is showed 'Sans-Serif'. I have some 'Serif' fonts in my system. And not change font settings in [Preferences -> Content -> Fonts & Colors] Firefox choose 'Sans Serif' -> 'Cantarell' to show 'Serif' And choose 'Serif' -> 'Alegreya' to show some unknown font images: Web font-family is Serif : https://img.vim-cn.com/6b/7373d088cb06602715c7ad45080ac1a477d773.png Firefox choose is Sans : https://img.vim-cn.com/6b/7373d088cb06602715c7ad45080ac1a477d773.png System font config : https://img.vim-cn.com/35/1927b0ddf96fe1e478c1eab1cca4ca4082cd08.png

All Replies (4)

more options

I read here that there are some issues with the fontconfig and that it could be customized: http://www.infinality.net/forum/viewtopic.php?f=2&t=222

However have you chosen these defaults with in Firefox and checked to not allow websites to choose their fonts: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use

more options

Did you check the font settings in gnome-appearance-properties ?

more options

cor-el said

Did you check the font settings in gnome-appearance-properties ?

On my gnome-twaek-tool, have not settings for sans-serif and serif

more options

guigs2 said

I read here that there are some issues with the fontconfig and that it could be customized: http://www.infinality.net/forum/viewtopic.php?f=2&t=222 However have you chosen these defaults with in Firefox and checked to not allow websites to choose their fonts: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use

maybe cause the infinality-fontconfig? but chrome have not this problem 'cause it not using fontconfig?