Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Roboto Light font won't display even though I have it, and Roboto displays fine

more options

I want to replace all fonts on all websites with Roboto Light. I downloaded the Roboto family and installed it on my PC. Now when I use this:

  • {font-family: "Roboto";}

it works fine, but when I use this:

  • {font-family: "Roboto Light";}

it falls back on another font. Why?

I want to replace all fonts on all websites with Roboto Light. I downloaded the Roboto family and installed it on my PC. Now when I use this: *{font-family: "Roboto";} it works fine, but when I use this: *{font-family: "Roboto Light";} it falls back on another font. Why?

被選擇的解決方法

You need to add extra font setting to make Firefox select a specific variant. All Roboto fonts are seen as one family and the correct variant is chosen based on other settings (light might be: font-weight:300; or font-weight:lighter;)

See:

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

You need to add extra font setting to make Firefox select a specific variant. All Roboto fonts are seen as one family and the correct variant is chosen based on other settings (light might be: font-weight:300; or font-weight:lighter;)

See:

more options

Thank you very much!