Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

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!