Last Updated: February 25, 2016
·
576
· ago

Bad font-face rendering in Chrome

It can be avoided by placing .svg font just after .eot (so we don't mess up in IE).

Just like this:

@font-face {
    font-family: 'MyFont';
    src: url('../fonts/myfont.eot');
    src: url('../fonts/myfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/myfont.svg#thesansplain') format('svg'),
         url('../fonts/myfont.woff') format('woff'),
         url('../fonts/myfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}