I am trying to use an OpenTypeFont
font, AXIS Basic ProN
. This font is working well on Chrome
:
but not on Firefox
and Safari
:
On Firefox
, I can observe the following warnings on the console:
It seems to explain that OpenTypeFont
is not supported on Firefox
and Safari
whereas https://caniuse.com/ttf is telling otherwise
I created a sandbox in order to properly illustrate my issue: https://codesandbox.io/s/kind-panini-ew9ie
I only got the .otf
files available for that font.
Any thoughts on that?
You're using format("otf")
, but "otf" is not a valid format value in an @font-face rule. Check the CSS Fonts Module spec. You should be using "opentype".