Z
Z
zxmd2015-02-15 01:52:06
css
zxmd, 2015-02-15 01:52:06

How to overcome fontaswesome icon display inaccuracy?

I use fontawesome in one project and trouble happened to it.
The whole point is in the pictures:
7b18f2c271514162a506dbded02e60c2.pnge45b1942e2654b57af0e3482495f119a.png
The first image was obtained with: the
body { font-family: 'Open Sans', sans-serif; }
second with
body { font-family: sans-serif; }
While naturally no one touched the styles of the fa itself. What a mess with subpixel accuracy, so the vertical and horizontal lines are a little "blurred" (especially noticeable on the camera), which gives the icons a somewhat disgusting look.
Tested on Mac OS X (yosemite), Google Chrome 40.0.2214.111 (64-bit) Has
anyone come across this? Is there any way to beat blurring?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yunus Gaziev, 2015-02-15
@zxmd

You need to check the font size that you set for the icons, it must be an integer, and such a jamb may be due to a too small font size

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question