Hacker News new | ask | show | jobs
by wunderbaba 2035 days ago
I was just dealing with this insanity a few weeks ago. I eventually settled on using a pre-load of my font in the head element and then immediately afterwards a built-in script element that loaded it into the font family.

And even after this it seemed really inconsistent whether it would wait to display the correct font or load the fallback font then visually hot swap in the correct one depending on the browser and the device used.