E
E
Evgeny Fedorov2014-03-12 18:26:26
css
Evgeny Fedorov, 2014-03-12 18:26:26

Font icons - who fights bugs how?

Recently, I often began to observe such small bugs with icons. Either it draws a pixel, then it cuts it off ... Personally, I struggle with this with resizing. And sometimes normal occurs even after 5 pixels. But if you need exactly this font size, the problem is ... Who does it how?
1394637634-clip-5kb.jpg?nocache=1
Font css:

@font-face {
  font-family: 'FontAwesome';
  src: url('../../fonts/fontawesome-webfont.eot?v=3.2.1');
  src: url('../../fonts/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('../../fonts/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('../../fonts/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('../../fonts/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"],[class*=" icon-"] {
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  *margin-right: .3em;
}
[class^="icon-"]:before,[class*=" icon-"]:before {
  text-decoration: inherit;
  display: inline-block;
  speak: none;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bzz, 2014-03-13
@JekFdrv

www.adtrak.co.uk/blog/font-face-chrome-rendering/#fix

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question