@
@
@etthree2019-06-07 19:39:32
css
@etthree, 2019-06-07 19:39:32

How to fix incorrect display of Roboto font when connecting via Google Fonts?

When I connect the Roboto font to my local site, it turns out to be a little more saturated than what I see on the Goole Fonts site, although both there and there are the same "weight" and font size.
Here on the local site:
5cfa8e87ec0c5217275449.jpeg
And the Google Fonts site:
5cfa8eaf3f5a8718710946.jpeg
Although from the screenshots it may seem that this is not critical and imperceptible, in reality the font on the local site (on my screen) looks too ugly compared to what they show me on Google Fonts.
Here's what's in the HTML:
5cfa92412084a108330481.jpeg
And CSS:
5cfa924a45b74977886445.jpeg
The Roboto font is not installed on the computer.
Local XAMPP server
Is there any way to solve this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sadieff, 2019-06-07
_

On the fonts.google page, the font is not completely black, but with transparency color: rgba(0,0,0,.87);

R
ReActor Dmitry Vershansky, 2019-06-07
@HunteR-VRX

or just put color: #444; +/-

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question