- This topic is empty.
January 11, 2011 at 12:13 pm #31217
This has been bugging me for a few months now. Most font-face kits I use have the bulletproof or smiley method to avoid possibility of the wrong font with the right name being used locally. My question is, why use the local declaration anyways? If you’re just going to declare a local font that can’t exist, why declare it at all? Obviously there may be a few details I’m missing, but it just seems needlessly complicated when you can simply not declare a local font at all.
Anyone care to enlighten me on this? I’ve removed the declaration on my kits so they work on android (something about it chocking on the smiley) and everything still works fine by the looks of it.January 11, 2011 at 12:16 pm #66589TT_MarkMember
I *think* the main reason for a local declaration is to speed up page loading timesJanuary 11, 2011 at 12:34 pm #66591
Yeah, by loading the font from the visitors computer if they have it right?January 12, 2011 at 2:30 am #66412jamygoldenModerator
If a font is named ‘♥[email protected]‘ and used via @font-face, I think the font is stored in a temp folder somewhere after downloading it. Therefore it should load faster after the first time if the local declaration is set. I could be wrong though, it’s just a guess.January 12, 2011 at 9:47 pm #66224
- The forum ‘CSS’ is closed to new topics and replies.