Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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?

Všechny odpovědi (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.