Anybody know of a way to prevent IE from downloading all webfonts (@font-face)?
Chrome and Firefox play nicely and only load fonts that are used on the page but IE will download every font in a style sheet regardless if it’s used on the page or not. As you can guess, this can make for some really really long load times.
<!--[if !IE]> <link type="text/css" rel="stylesheet" href="css/typography.css" media="screen"> <![endif]-->
Thanks, but not quite what I was looking for.
I probably didn’t describe my issue very well.
Let’s say you are using @font-face, and you put the css for 10 @font-face fonts in your style sheet. IE will automatically load all of those font regardless if they are used on the page or not.
What I’m trying to figure out is how to prevent IE from loading unused fonts.
How it’s being used is I’m using @font-face fonts in the WP editor through some tinymce manipulation.
If I keep the number of fonts available for use limited it doesn’t slow load times down too much but if I want to include the entire google webfont library it kills IE load times due to IE wanting to load all of the fonts.
Firefox and Chrome are smart and only load a font if it’s in use.
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.