We take a little break from working on search to solve a little niggling issue.
Hope is not lost though, Typekit has this problem covered, we just need to do a smidge of work on our site. We put a new class name on the
<html> element called "wf-loading" (web font loading). Then in our CSS, we declare that any selector that uses a custom font is visibly hidden until that class name goes away. A little risky you might think, but if the font fails to load there is a timeout that removes the class anyway. This is just for fighting FOUT remember, just a little visual nicety.
We do all this by making a little Sass
@mixin called "preventFOUT" and
@include-ing it in our custom font stacks, which are also
This works well for us now. Ultimately in this design we move over to HF&J fonts in which load directly via @font-face so we basically stop worrying about this.