The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

does or doesn’t media query prevent font loading?!?

  • # April 24, 2013 at 9:10 am

    hey there peeps,

    just read the article on [preventing performance hits](

    however dave’s example doesn’t appear to work for me.

    [here it is](

    I want to load different fonts based on pixel density and resolution, without them actually loaded when they shouldn’t.

    anyone knows what i am possibly doing wrong, or things to watch for?

    ps: working with google webfonts just as in the example

    # April 24, 2013 at 9:31 am

    For me the font gets requested no matter if it’s needed or not, so I’d say no @ topic title.

    EDIT: Maybe smart phones are… smarter than desktop browsers though.

    # April 24, 2013 at 9:33 am

    exactly, for me it was the same.. anyone else? cause if thats true, the article has a false statement in it , isnt it?

    of course alternative methods are nice too! :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed