@font-face for custom fonts, fonts not smooth in Chrome

前端 未结 7 646
谎友^
谎友^ 2021-02-01 21:08

I have a web application that is using CSS3\'s @font-face to embed custom fonts. So far this has works perfectly in IE and Firefox.

With Chrome, however, the custom fo

7条回答
  •  清酒与你
    2021-02-01 21:50

    Unfortunately, all browsers render fonts differently. And one that looks ok in one might have trouble in another. It's not that easy to find a good font for font-face... if you want pixel perfection you will have to use images.

    But not all is lost, here are 20 free fonts (free for commercial use even!) that render quite nicely (I always end up checking this list): http://speckyboy.com/2010/07/04/25-completely-free-fonts-perfect-for-fontface/

    Remember that you can't host paid fonts or you would be distributing them and you could end up in trouble.

提交回复
热议问题