Topic on Extension talk:WebFonts

Load fonts only when necessary

4
Yair rand (talkcontribs)

I don't suppose there's any configuration option or something that would cause fonts to only load when the text would otherwise be not displayed properly?

Nikerabbit (talkcontribs)

It is not possible to detect that programmatically.

Yair rand (talkcontribs)

It's actually impossible to check whether some characters are supported? Couldn't you just check if every letter in a character set results in the same offsetWidth as a box character and each other, or maybe write the text to a canvas and check the result, or something?

Reply to "Load fonts only when necessary"