A
A
Alexander Zhuravlev2016-10-29 20:43:17
css
Alexander Zhuravlev, 2016-10-29 20:43:17

Why doesn't Roboto font weight below 700 work?

Hello, I'm completely confused. There was a page with the Roboto font, thickness from 100 to 700, connected via Google Fonts, everything worked fine. And then took it and stopped working. Solved the problem when connecting exactly the right thickness through the font-face, but damn it, why did it stop working?
JSFiddle demo: https://jsfiddle.net/czLe5ya7/
56e04db2a1834ddba3fca9362db2358e.png
The only difference is noticeable at 700 font, the rest are all 500.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
dom1n1k, 2016-10-29
@ingenious_motherfucker

This can happen if the Roboto font is installed on the system, but not in all versions.
The browser finds it locally and happily starts using it without downloading anything from the web.
Try giving the web version a different name so it doesn't overlap.

S
Sergey Goryachev, 2016-10-29
@webirus

Everything is fine on the GF https://fonts.google.com/specimen/Roboto
As in general and in the sandbox https://jsfiddle.net/czLe5ya7/1/
You are doing something wrong :)
Well, or really, it is cached something.
ed263d48d56646c2b7404df0764601de.png

I
iBird Rose, 2016-10-29
@iiiBird

everything works fine. You most likely have either a cache. or fonts installed in the OS - all the same width. in general, remove all Roboto fonts from the computer so that it loads from Google, and not from the computer. and clear the cache

E
Elwen, 2016-10-30
@Elwen

Try changing the font connection method. In your fiddle, I also only display regular and bold. If you connect fonts, not as an external resource, but use @importor <link>, then everything is displayed as it should.
https://jsfiddle.net/z3xt0pye/ - import
https://jsfiddle.net/czLe5ya7/1/ - link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question