We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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?

Tất cả các câu trả lời (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.