Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

@face-font issue with Firefox

  • 1 antwoord
  • 2 hebben dit probleem
  • 5 weergaven
  • Laatste antwoord van cor-el

more options

Hello!

I've been a Firefox user for quite some time now, thank you!

Currently, I'm working on a new website for my business and have a custom font that I'm trying to get compatible across all browsers. For some reason, I can't seem to get the right CSS to have it work on my Firefox browser, despite the trusty Internet assuring me it should be otherwise!

This is the CSS I'm using at the moment:

@font-face {

 font-family: 'Santana';
 src: url('santana.woff2') format('woff2'),
      url('santana.woff') format('woff'),
      url('santana.ttf') format('truetype');

}

I'm wondering how I might go about circumventing this issue so that the Santana script also shows on Firefox browsers.

Thank you!

Best, Rivka

Hello! I've been a Firefox user for quite some time now, thank you! Currently, I'm working on a new website for my business and have a custom font that I'm trying to get compatible across all browsers. For some reason, I can't seem to get the right CSS to have it work on my Firefox browser, despite the trusty Internet assuring me it should be otherwise! This is the CSS I'm using at the moment: @font-face { font-family: 'Santana'; src: url('santana.woff2') format('woff2'), url('santana.woff') format('woff'), url('santana.ttf') format('truetype'); } I'm wondering how I might go about circumventing this issue so that the Santana script also shows on Firefox browsers. Thank you! Best, Rivka
Gekoppelde schermafbeeldingen

Alle antwoorden (1)

more options

The Network Monitor shows some 404 errors for requesting the Santana font from your own server and the Web Console shows 'rejected by sanitizer' issues with the Santana font.

GEThttps://rivkarothstein.showitpreview.com/santana.woff2
[HTTP/2 404 Not Found 200ms]

downloadable font: download failed (font-family: "Santana" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: https://rivkarothstein.showitpreview.com/santana.woff2
GEThttps://rivkarothstein.showitpreview.com/santana.woff
[HTTP/2 404 Not Found 186ms]

downloadable font: download failed (font-family: "Santana" style:normal weight:400 stretch:100 src index:1): status=2147746065 source: https://rivkarothstein.showitpreview.com/santana.woff
GEThttps://rivkarothstein.showitpreview.com/santana.ttf
[HTTP/2 404 Not Found 160ms]

downloadable font: download failed (font-family: "Santana" style:normal weight:400 stretch:100 src index:2): status=2147746065 source: https://rivkarothstein.showitpreview.com/santana.ttf
downloadable font: OS/2: Failed to read version 5-specific fields (font-family: "Santana" style:normal weight:400 stretch:100 src index:0) source: https://static.showit.co/file/7KLkJ_-VRK-NcGnUSXBP3A/172892/santana.woff

downloadable font: OS/2: Failed to parse table (font-family: "Santana" style:normal weight:400 stretch:100 src index:0) source: https://static.showit.co/file/7KLkJ_-VRK-NcGnUSXBP3A/172892/santana.woff

downloadable font: rejected by sanitizer (font-family: "Santana" style:normal weight:400 stretch:100 src index:0) source: https://static.showit.co/file/7KLkJ_-VRK-NcGnUSXBP3A/172892/santana.woff