X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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?

Chosen solution

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:

Read this answer in context 1
Quote

Additional System Details

Installed Plug-ins

  • The plugin allows you to have a better experience with Microsoft SharePoint

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.2.12

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17346 solutions 156791 answers

Chosen Solution

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:

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: *https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Common_weight_name_mapping
Was this helpful to you? 1
Quote

Question owner

Thank you very much!

Thank you very much!
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.