D
D
DotDash2018-04-13 23:29:43
Fonts
DotDash, 2018-04-13 23:29:43

Why is font not smoothing in wordpress?

Good time of the day!
It just so happens that the site uses Comic Sans MS, but for some reason wordpress doesn't smooth it out. This only applies to Comic sans, other fonts look fine. Tested in all browsers. I can't figure out what's wrong.
Here's what it looks like.
5ad111f9a74ea429581720.png
I connect the font like this:
@font-face {
font-family: 'comic-sans-ms';
src: url(genericons/font/comic-sans-ms.woff) format('woff'),
url(genericons/font/comic-sans-ms.ttf) format('opentype'),
url(genericons/font/ comic-sans-ms.svg) format('svg');
}
Using font-smoothing does nothing. I connect like this:
body {
-webkit-font-smoothing: subpixel-antialiased;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
backface-visibility: hidden;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kuzovlev, 2018-04-13
@DotDash

Try different versions of this font, it happens that something is wrong in the font file itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question