tags:

views:

93

answers:

1

While using @font-face HTML5/CSS3 loads the page, and you slowly see the fonts appear. Is there no way to load the fonts first?

+1  A: 

You might get some luck (especially in the future) with link prefetching:

<link rel="prefetch" href="pathto/font">

(only supported by Firefox, at the moment). If you use this on a page before the page where @font-face is used, the font file can be in the cache before it is actually used.

Marcel Korpel
Interesting. This is the behavior I would like my page to exhibit. Unfortunately, browser compatibility for various new HTML5 features is fragmented.
xAbhishek