Adobe Blank Font
- Started
- Last post
- 8 Responses
- ernexbcn0
What's to discuss.
- detritus0
aaah, that's quite a clever wrkaround.
if a little perverse.
- detritus0
Hold on - it weighs 80kb.
That's totally stupid.
"Let's add in 80kb here so we don't get a glitch when loading in four 120kb fonts whilst were downloading 20kb of js and 0.5Mb of images.."
- ernexbcn0
When I use Google Web Fonts on the html head I append a class "loading" to the html tag that the body tag inherits opacity: 0 (that loads pretty quickly, without using any JS library. Then on the JS that loadeds at the bottom of the page I listen for the Google WebFont Loader API event "fontactive" and when that happens I remove the class "loading" from the html tag.
That's how I prevent FOUT (font out of style).
- ESKEMA0
yeah, I don't get the point if it weights 80kb. It would make sense if it were around 20's or something..
- detritus0
Might be worthwhile making region-specific versions, rather than catering for the entire unicode range. How many sites have you made that have evey character combo on the front page?
- lvl_130
*dumps in first world problem thread