Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Lato' font rendering odd in safari, not in chrome, or firefox

Im using the 'Lato' font from google web fonts, and its displaying fine on all browsers apart from safari.

Im using it in font-weight:100;

here are some screen shots of the different browsers. Any idea what might be causing it to render extremely thin ? Or if theres a way i can set it to render in font-weight:300; for safari only ?

Ive also made a js fiddle of the problem - http://jsfiddle.net/qLHuc/1/

FIREFOX

enter image description here

CHROME

enter image description here

SAFARI

enter image description here

like image 612
sam Avatar asked Mar 14 '13 15:03

sam


People also ask

How do I stop different browsers rendering fonts differently?

To stop this happening make sure in your CSS you have font-weight: normal and font-style: normal in your @fontface code block. You then need to apply the necessary styles to the HTML elements. And then add the specific styles for each element that uses that font.

What Adobe font is similar to Lato?

Metrisch (OTF) Another font similar to Lato is the humanist typeface style called Metrisch. This sans-serif type family has a clean, modern structure and features smooth, refined looks similar to the Lato typeface.

How do I get the Lato font?

The Lato font family is available as a free download under the SIL Open Font License 1.1. The fonts can be used without any limitations for commercial and non-commercial purposes. They can be also freely modified if the terms of the license are observed.

Where is Lato font used?

This typeface is highly used on websites to deliver information directly. For example, it's used for a Polish Jewish magazine named Chidusz. As this typeface is designed by a Polish font designer, its use for Polish makes it standout even more.


1 Answers

I'm not sure why, but Safari is disabling subpixel antialising at small font sizes on that page. You can fix it by applying -webkit-font-smoothing: subpixel-antialiased. See here: http://jsfiddle.net/qLHuc/3/

However, I think you should consider using a heavier font. Have you tested this on Windows? It will likely look very, very light. OSX renders text very heavily when subpixel antialiasing is enabled, and especially heavily when text is against a dark or colored background. What you see in your Safari screenshot is similar to what people who aren't on OSX will see.

like image 199
Chris Herbert Avatar answered Sep 20 '22 23:09

Chris Herbert