Bram
Bram

Reputation: 1112

font-face: Inline font only rendering nice in IE

I got the Homestead font from the Lost Type Co-op, which has font-face support. Using Font Squirrel, I got an @font-face package. I included everything and wanted to use the Inline variant as demonstrated here. This is my CSS:

@font-face {
    font-family: 'HomesteadInline';
    src: url('homestead/homestead-inline-webfont.eot');
    src: url('homestead/homestead-inline-webfont.eot?#iefix') format('embedded-opentype'),
         url('homestead/homestead-inline-webfont.ttf') format('truetype'),
         url('homestead/homestead-inline-webfont.svg#HomesteadInline') format('svg');
    font-weight: normal;
    font-style: normal;

}
h1 { font-family: 'HomesteadInline'; font-size: 10em}

The font works, but renders horribly in Chrome and Firefox, the only browser that I tested that does it right is IE9.

Below is a comparison screenshot: enter image description here

Is there any way of fixing this?

Upvotes: 1

Views: 1116

Answers (1)

Fisch
Fisch

Reputation: 3815

I've had issues with the font-weight of homestead across different browsers.
Try adding font-weight:200; when you use homestead

Upvotes: 1

Related Questions