1

I'm setting up a typewriter page with a local font. I'm using @font-face to import it but it won't render in Safari. It renders on google Chrome.

Here is the web page https://www.dynamik.systems/typewriter/ (you have to press some keys to see some letters).


@font-face {
  font-family: "dynamik";
  src: url('http://www.dynamik.systems/wp-content/themes/fonts/DynamikGX.eot') format('opentype'),
       url('http://www.dynamik.systems/wp-content/themes/fonts/DynamikGX.ttf') format('truetype'),
       url('ttp://www.dynamik.systems/wp-content/themes/fonts/DynamikGX.woff') format('woff');
}


#content{
 font-family: "dynamik";
}

Thanks on behalf!

RASALGHUL
  • 89
  • 10

1 Answers1

2

Looks like you have two issues:

  1. all 3 font urls should be https
  2. 3rd url is also missing starting h

There are also few additional rules you can add to font-face e.g:

  1. font-display: swap
  2. src: local properties.
Sam Tyurenkov
  • 430
  • 4
  • 19
  • Sam! You're my hero! Big thanks! Not it at least render my font! Big thanks! Would love to hear about the rules if you have time! – RASALGHUL Jul 02 '19 at 23:23