« Back to all articles

Web fonts not loading in Firefox

06 June 2013

I encountered a peculiar issue today regarding web fonts on firefox. On all browsers except Firefox the web fonts were loading correctly. I found multiple references suggesting that Firefox was picky with using quotes when referencing where the font file is hosted. However my findings were more interesting:

Firefox does not support embedding webfont files from a different domain

The good news is the fix is simple. Simply send the following header:

    Access-Control-Allow-Origin *

Ohhh, you're viewing this site in dark mode 👻 Spooky!