[personal profile] thoitaxh posting in [community profile] style_system
Hey! So it's me again. I've got a promblem with my @font-face tag that for some reason isn't showing up in Firefox. Works in Chrome with no issues at all, but Firefox keeps defaulting to my back-up fonts.

How it looks in Chrome/How I want it to look

How it looks in Firefox



I'd be super grateful for any help at all!

Date: 2012-05-07 11:40 pm (UTC)
caltastic: <u>The Cookie Tree</u>, by Jay Williams (Default)
From: [personal profile] caltastic
I'm not sure if this is your problem, but you're calling a sourced TTF as type=opentype instead of type=truetype.

Date: 2012-05-08 07:43 am (UTC)
From: [personal profile] ex_awakened208
I thought Dreamwidth didn't even support @font-face. Whenever I used Google web fonts, I had to drop them into the "External Stylesheet" box. Maybe try putting the url to the font there too and see what happens?

Date: 2012-05-11 01:37 pm (UTC)
carene_waterman: An image of the Carina Nebula (Default)
From: [personal profile] carene_waterman
It's not a bug, it's a feature.

Firefox has a security feature that does not allow font files to be called from a different domain from the one that hosts the site and the CSS files. It's meant to stop people using fonts they don't have a license for and for other security reasons.

There are workarounds, but so far, I can't find one that will work without control of the server where the font is located. I did see one guy say that he just changed the URL so there was no http:// and it worked for him, but I haven't had time to test that theory, so take that with a giant grain of salt, but it might be worth a try.

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 1st, 2025 05:43 am
Powered by Dreamwidth Studios