[HTML] How do you detect if a font loaded?
I have a website thing with some imported fonts. On one of my devices, the main font doesn't load. The fallback font is huge compared to the main one, and I want the font size to decrease if that font is active.
Here's a crappy example if I'm bad at explaining:
If goodFont is the displayed font, a paragraph would look like this:
But if goodFont doesn't load and bigFont is displayed instead, it would look like this: