Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

@face-font issue with Firefox

  • 1 ответ
  • 2 имеют эту проблему
  • 1 просмотр
  • Последний ответ от 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
Приложенные скриншоты

Все ответы (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