W
W
Worddoc2017-05-27 00:18:32
css
Worddoc, 2017-05-27 00:18:32

Why does the font become slashed in firefox and microsoft edge?

Hello.
The problem is that the display of the font in firefox and edge becomes chopped. And he becomes chopped, because. the style of the font itself is distorted. I don’t understand what the problem is, there is a suspicion that the downloaded font is simply not of high quality, but there is no one to confirm this theory. Font-weight is 600, and if you set it to 400, then everything is displayed normally. Tell me how to fix this and smooth fonts in these browsers?
Google Chrome
b1cd04b4186444d3bda2f9ee2ff68bda.PNG
Firefox and Edgee98e7e05a6d24faaa328c556adae35f4.PNG

@font-face {
  font-family: 'proxima-reg';
  src: url('../fonts/proximanova-reg-webfont.eot');
  src: url('../fonts/proximanova-reg-webfont.eot?#iefix') format("embedded-opentype"),
  url('../fonts/proximanova-reg-webfont.woff2') format("woff2"),
  url('../fonts/proximanova-reg-webfont.woff') format("woff"),
  url('../fonts/proximanova-reg-webfont.svg') format("svg");
  font-weight: normal;
  font-style: normal;
 }

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Nicholas, 2017-05-27
@Worddoc

Each combination of font-weight and font-style properties must have its own font, and you only have 1 case - normal/normal.
Browsers handle the situation when there is no font in different ways. Some do nothing, while others automatically thicken/tilt. Naturally, almost always it turns out not beautifully.

A
Artur Karapetyan, 2017-05-27
@architawr

Google to the rescue
1 way
2 way

V
Viktor Yanyshev, 2017-05-27
@villiwalla

add ttf

P
profesor08, 2017-05-27
@profesor08

Personally, I see that you have different font sizes, bring them to one and see the result.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question