搜索 | 用户支持

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

详细了解

Firefox not using local fonts

more options

Firefox doesn't seem to be able to read local system fonts. I have an element on a web page with the CSS `font: 10pt Arial` but it still uses the default font (which is Times New Roman). This only happens in Firefox and no other browser (Arial font is installed). When I use the CSS rule `font: 10pt Arial, sans-serif` it suddenly works. Why is this?

Firefox doesn't seem to be able to read local system fonts. I have an element on a web page with the CSS `font: 10pt Arial` but it still uses the default font (which is Times New Roman). This only happens in Firefox and no other browser (Arial font is installed). When I use the CSS rule `font: 10pt Arial, sans-serif` it suddenly works. Why is this?

所有回复 (2)

more options

Hi, there appears to be an issue that only affects users who have turned off Cleartype Font rendering within their Windows Settings. So a workaround for the moment would either be to turn Cleartype back on or disabling hardware acceleration in Firefox: https://support.mozilla.org/en-US/kb/performance-settings

Please let us know if this solved your issue or if need further assistance.

more options

That's strange. If you use the Page Inspector to check some text on the page, can you see what actual font it is using? To open the Inspector, right-click some text and choose Inspect Element. Firefox usually will open the Inspector in the lower part of the tab, show an HTML tree, and select the element you right-clicked. On the right side, there will be something displayed, usually Rules. View fonts on that side to see what the site is using. If Fonts is not visible after Rules, Computed, Layout, etc., look for a little triangle at the end of that row of headings.


If you go to this folder in Windows Explorer (not in Firefox):

C:\Windows\Fonts

Does Arial look normal? It's a family, so if you double-click it, Windows should display all the members of the family.