1
I have a font rendering problem on my Mac. The font is "Regular" size and renders right in windows, however, on Mac the same font looks like "Bold". Windows is Seven and MAC is Yosemite.
I’m using this code:
@font-face {
font-family: 'open_sansregular';
src: url('font/OpenSans-Regular-webfont.eot');
src: url('font/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('font/OpenSans-Regular-webfont.woff2') format('woff2'),
url('font/OpenSans-Regular-webfont.woff') format('woff'),
url('font/OpenSans-Regular-webfont.ttf') format('truetype'),
url('font/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
font-weight: normal;
font-style: normal;
}
(I tried that in body and html, but the problem still remains)
body {
font-family: 'open_sansregular';
color: #939393;
font-size: 14px;
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
font-style: normal;
font-weight: normal;
}
And the sources go like this:
1 - Windows, Chrome (Correct) 2 - Mac, Chrome 3 - Mac, Firefox
@Pedrohenrique in Opera and Chrome was right, Thanks. Just didn’t work in firefox, I tried to put:
-moz-font-smoothing: antialiased;
But it didn’t work– Jean Bragantin
I created an updated response, should work for both Webkit (Chrome, Safari) and Mozilla.
– Pedro Henrique