3 ms·
I ran into this issue as well when working on https://starthq.com https://starthq.com The font file is loaded the first time any text using the font is display
by olegp 14y ago
I ran into this issue as well when working on https://starthq.com https://starthq.com
The font file is loaded the first time any text using the font is displayed and I am using Font Awesome for the icons which are only visible when selecting a drop down menu. As a result there was a very annoying flicker the first time the menu was displayed.
The somewhat hackish solution was to include one of the icons that uses the font as part of the logo in the upper left of the page, which is rendered on initial page load.
- Trezoid 14y agoAn equally hackish alternative would be to have a floated div way off screen using the font to force loading (works for image carousel pre-loading too, but with a pretty obvious load time hit)