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?
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.
Source: https://habr.com/ru/post/1795519/More articles:JNA: the specified procedure was not found - javaHow to open an existing GitHub project using Xcode? - iphoneseveral tables or one table? - databaseКак использовать jQuery для получения объединенной ширины DIV в контейнере и передать это значение другому элементу? - jqueryHow to add a comment box to iweb? - iwebРазрешить дублировать ключи с помощью ToDictionary() из запроса LINQ - dictionaryHow to choose a different theme / style for CodeRay syntax highlighting Ruby code? - ruby | fooobar.compython creating tmp permissions for a directory - pythonPlay .ts file on Android? - androidWhat are some common performance issues regardless of programming language? - performanceAll Articles