FontAwesome doesn't display in Firefox

前端 未结 6 1967
余生分开走
余生分开走 2020-12-08 07:52

Related question here.

Boris\' answer to the above question seems to make sense, but I installed the Font Awesome files on my server and the problem remains:

6条回答
  •  再見小時候
    2020-12-08 08:51

    I am having same issue, we use the fonts on router board using micro httpd. i added Access-Control-Allow-Origin: * header but not working for me.

    i found in firebug that the woff file is not returing anything in response text. the same thing if i use CDN url, everything works fine. so on local micro-httpd server need some mandatory header to configure. please tell me also the exact mime types for all fonts needed.

    • .ttf", "application/x-font-ttf"
    • .eot", "application/vnd.ms-fontobject"
    • .woff", "application/font-woff"
    • .svg", "image/svg+xml"

提交回复
热议问题