3 ms·
There is actually a very simple solution for this : use the Javascript include method and place the code at the end of the body tag. This is what happens techn
by jevin 14y ago
There is actually a very simple solution for this : use the Javascript include method and place the code at the end of the body tag.
This is what happens technically :
The CSS will get loaded, and the custom font will not be found. The browser will then use the fallback font. As the rest of the page gets loaded, so will the Javascript function. This will download and include the custom font, therefore changing the fallback font to the custom font.
The change of font may be quite disturbing, but hey at least people with slower connections can read meanwhile.