M
M
Messi2017-07-20 13:00:35
HTML
Messi, 2017-07-20 13:00:35

The correct option for connecting the font to the site?

I connected HelveticaNeueCyr-Light font via @font-face in otf and ttf format.
In ubuntu (chrome), Mac (chrome) everything is ok, but on Windows (Chrome) the font "jumps" letters one above the other.
What is the problem? And what is the correct way to connect fonts?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey ZSA, 2017-07-20
@serjikz

Font extensions woff and woff2 are needed Look at the example of connecting any google fonts font and everything will be clear right away.

K
Kuzya, 2017-07-20
@N_kuzya

Google Fonts has ready-made code for html and css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question