Loading Fontawesome font files


#1

I am getting this error on my device using the Web Inspector:

Resource interpreted as Font but transferred with MIME type font/x-woff: “http://qnotes.sef.bz/nsb/bs/fa/fonts/fontawesome-webfont.woff?v=4.6.3”.
GET http://qnotes.sef.bz/nsb/bs/fa/fonts/fontawesome-webfont.woff2 400 (Bad Request) /nsb/bs/fa/fonts/fontawesome-webfont.woff2:1
Application Cache update failed, because http://qnotes.sef.bz/nsb/bs/fa/fonts/fontawesome-webfont.woff2 could not be fetched.

Here are the MIME type settings in IIS:
.woff
font/x-woff
.woff2
font/x-woff2

The app loads, eventually, but takes about 15 seconds to do so.
Any help would be appreciated.

JamesF


#2

In airplane mode it is taking 30 seconds to load the app.

It appears to be an issue with fontawesome fonts.

JamesF


#3

Try including the files with your project and loading locally.

http://blog.nsbasic.com/2012/01/using-custom-fonts/

George Henne
NS BASIC Corporation
http://www.nsbasic.com


#4

This is the actual error:

I am getting this error on my device using the Web Inspector in the console:

Resource interpreted as Font but transferred with MIME type font/x-woff: “http://qnotes.sef.bz/nsb/bs/fa/fonts/fontawesome-webfont.woff?v=4.6.3”.

GET http://qnotes.sef.bz/nsb/bs/fa/fonts/fontawesome-webfont.woff2 400 (Bad Request) /nsb/bs/fa/fonts/fontawesome-webfont.woff2:1

Application Cache update failed, because http://qnotes.sef.bz/nsb/bs/fa/fonts/fontawesome-webfont.woff2 could not be fetched.

Here are the MIME type settings in IIS:

.woff

font/x-woff

.woff2

font/x-woff2

The app loads, eventually, but takes about 15 seconds to do so.

Any help would be appreciated.


#5

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.