canceled status blocking font download

Viewed 3877

I have a page with some text that has been given a font-family of constitution:

enter image description here

This font was downloaded from a foundary and is defined for the page with an @font-face: enter image description here

When the page renders, the browser goes out for the font but the request is blocked by a cancel and the text doesn't get the font-family applied:

enter image description here

Does anyone know what might be causing this cancel? This used to work, and I can't imagine what I did or what happened to break it.

Thanks for any help.

2 Answers
  1. Put this inside your virtual host definition or .htaccess file:

    <FilesMatch ".(ttf|otf|woff|woff2|eot|ttc)$">
        Header set Access-Control-Allow-Origin "*"
        Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
    </FilesMatch>
    
  2. Restart Apache web server

  3. Refresh the page multiple times (Hard Refresh)
Related