Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

جست‌وجوی پشتیبانی موزیلا

از کلاهبرداری‌های پشتیبانی اجتناب کنید. ما هرگز از شما نمی‌خواهیم که با شماره تلفن تماس بگیرید یا پیامک ارسال کنید یا اطلاعات شخصی خود را هم‌رسانی کنید. لطفاً فعالیت‌های مشکوک را با استفاده از گزینه «گزارش سوءاستفاده» گزارش دهید.

مانند نخ كشيده
بایگانی شده

Firefox choose wrong Serif fonts

Akatsuki Rui

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)

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

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

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

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?