Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Firefox choose wrong Serif fonts

  • 4 svar
  • 1 har detta problem
  • 27 visningar
  • Senaste svar av 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

Alla svar (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?