Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Fallback for Typekit condensed font

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #35270
    Johnnyb
    Member

    Hey everyone. I’m using a condensed font through Typekit. I’m trying to come up with a decent looking fallback solution in case Typekit doesn’t load or if I end my subscription to it. I can use an @fontface condensed font as a fallback, but then that’s adding to my page weight and will be mostly redundant. I don’t mind falling back to a sans-serif font but if I do that then I’d need to reduce the font-size for the fallback font. Is that possible to do? I’ve checked out this page: http://blog.typekit.com/category/font-events/ and have tried out a few things but to no avail.

    I guess I’m asking for opinions. Would you just take the page weight hit and add a condensed @fontface fallback font? Or would you fallback to a “web safe” font and adjust the font-size if Typekit fails/isn’t active anymore?

    #91504
    Johnnyb
    Member

    Any ideas?

    #91510
    TheDoc
    Member

    Your font stack doesn’t have to be small. I would go from your fontface font, to the actual font name (on your local machine), to a similar font that people might have, and then to websafe.

    #91641
    Johnnyb
    Member

    Hey doc, thanks for the reply. If I’m using an @fontface font as a fallback is that font loaded even if it isn’t used? Or is it only loaded if it’s “fallen back to”?

    #91646
    TheDoc
    Member

    That’s a very good question. I think you’d have to do some research there!

    #91649
    chrisburton
    Participant

    @JohnnyB to simply test: Use 2 different font files, 1 primary and the other for fallback. Then, just check with web inspector (network tab) to see if they both load.

    #91670
    Johnnyb
    Member

    I guess I’ll give it a go then and see what happens! Thanks for the help guys.

    #91698

    Only IE downloads the font if it isn’t being used. I would recommend reading this article for more information: http://www.stevesouders.com/blog/2009/10/13/font-face-and-performance/

    #91921
    Johnnyb
    Member

    Awesome, that’s an interesting read, thanks @joshuanhibbert.

    #91940

    No worries!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘CSS’ is closed to new topics and replies.