A
A
andreyqin2014-05-26 09:19:34
Fonts
andreyqin, 2014-05-26 09:19:34

Why doesn't the font in Firefox load the first time?

The site has a non-standard PresentScript font. When the page is loaded for the first time, the font does not seem to be loaded and the default font (Verdana) is shown, after pressing F5 everything works. The bug is only in Firefox, in other browsers everything is fine. What could be the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly Zheltyakov, 2014-05-26
@VitaZheltyakov

Check the headers of the font files provided by the server.
.htaccess has this(?):

AddType application/vnd.ms-fontobject  eot
AddType application/x-font-ttf         ttf ttc
AddType font/opentype                  otf
AddType application/x-font-woff        woff

N
Nazar Mokrinsky, 2014-05-26
@nazarpc

Give the page a look, look at the browser console.
Perhaps there are some extensions. Is it on the same machine or not?

F
Fr3nzy, 2014-05-26
@Fr3nzy

Look at the server logs/network tab in the firebug. If it does not show font requests, then try viewing them through Chrome. Look at the status and headers (specifically, Content-Type - one of those listed above should be given).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question