Cómo corregir la calidad de las fuentes en Chrome

Cómo corregir la calidad de las fuentes en Chrome

0 345

/ this is how a font-face rule usually looks like /

@font-face

font-family: ‘MyWebFont’;

src : url ( ‘webfont.eot’ ) ; / IE9 Compat Modes /

src : url ( ‘webfont.eot?#iefix’ ) format ( ’embedded-opentype’ ) , / IE6-IE8 /

url ( ‘webfont.woff’ ) format ( ‘woff’ ) , / Modern Browsers /

url ( ‘webfont.ttf’ ) format ( ‘truetype’ ) , / Safari, Android, iOS /

url ( ‘webfont.svg#svgFontName’ ) format ( ‘svg’ ) ; / Legacy iOS /

/ the fix ! simply ADD this block BELOW the above block /

@media screen and (-webkit-min-device-pixel-ratio:0)

@font-face

font-family: ‘MyWebFont’;

src : url ( ‘webfont.svg#svgFontName’ ) format ( ‘svg’ ) ;

NO COMMENTS

Leave a Reply