Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox no longer renders type in my preferred fonts - upgrade issue?

  • 7 个回答
  • 5 人有此问题
  • 1 次查看
  • 最后回复者为 Ben_Meyers

more options

I have my font preferences set to display in Serif fonts, specifically Times New Roman, and "Allow pages to use their own fonts" is de-selected. However, all the pages I load render in a sans serif fonts.

I have a vision problem which makes sans serif type difficult to read, so I need to be able to specify my fonts. Any suggestions? This problem has only started with my upgrade to v. 41.0.1 on Mac.

I have my font preferences set to display in Serif fonts, specifically Times New Roman, and "Allow pages to use their own fonts" is de-selected. However, all the pages I load render in a sans serif fonts. I have a vision problem which makes sans serif type difficult to read, so I need to be able to specify my fonts. Any suggestions? This problem has only started with my upgrade to v. 41.0.1 on Mac.

被采纳的解决方案

I'm not very familiar with Mac fonts. When you say you selected "Times" do you mean the full name is "Times"? Do you have any better luck with "Times New Roman"?

定位到答案原位置 👍 0

所有回复 (7)

more options

This could be a change in Firefox, but if the site specifies the sans-serif font family, then Firefox likely will use the font you specify as your default sans-serif font. If you want to always see a serif font, change the default sans-serif font to a serif face.

Also, when settings fonts, you may need to change two character sets: Latin and Other Writing Systems. (I think those are the two most commonly used.) There is a selector at the top of the Fonts dialog to choose the character set.

Does that work?

more options

Thanks jscher2000, but unfortunately this doesn't work. I have selected Times as both my preferred serif and sans-serif face, in both Latin and Other Writing Systems character sets, and am still seeing everything in sans serif.

more options

Note that in some cases you may see a little box with the hex code if a website uses an icon font that is downloaded from the server to display small images.

In Firefox 41 and later this works better than before with website fonts disabled.

more options

Still doesn't make the change I was anticipating, but thank you for the post.

more options

You can use the Stylish extension or code in userContent.css to override the font on pages that you visit a lot (e.g. daily). For instance I make a lot of changes to the appearance of forum pages because I spend a lot of time here and the layout isn't always that much "eyes friendly" for me. I prefer one font size and a text color with enough contrast and use a monospace font (.answers .main-content{font-family:dejavu sans mono,monospace}) for letter spacing and avoid confusion between an 'l' (L) and 'I' (i).


Example: Add code to the userContent.css file.


@-moz-document domain(support.mozilla.org){
 .answers .main-content,
 .questions > section .content .long-text,
 .questions > section .content .short-text,
 input[type="text"],textarea {
  color:#000;
  font-family:monospace!important;
 }
}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

See also:


You can right-click and select "Inspect Element" to open the Inspector (Firefox menu button or Tools > Web Developer) with this element selected. You can check the font used for selected text in the Font tab in the right pane of the Inspector.

由cor-el于修改

more options

选择的解决方案

I'm not very familiar with Mac fonts. When you say you selected "Times" do you mean the full name is "Times"? Do you have any better luck with "Times New Roman"?

由jscher2000 - Support Volunteer于修改

more options

Setting my default fonts to Times, rather than Times New Roman, is all it took -- but thanks to everyone for your exceptional tech skills and advice!

It is a real pleasure to be able to read things again.