Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 155 回表示
  • 最後の返信者: fioiu omotrl

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!