How to change the default font before downloading fonts?

In Firefox, when a page loads, at some point (depending on connection speed) a default font is displayed (for example, Times New Roman) before it displays using the specified font. I understand that this cannot be faster, but how can I set, for example, Arial as the default font before it changes when the font loads?

+3
source share
1 answer

Specifying an additional font in the font-family property will solve your problem.

font-family: "YourFontFaceFont", arial;

This will cause arial to be used until "YourFontFaceFont" is available.

+3
source

Source: https://habr.com/ru/post/1795519/


All Articles