搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox choose wrong Serif fonts

  • 4 回覆
  • 1 有這個問題
  • 27 次檢視
  • 最近回覆由 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

所有回覆 (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?