字体和字体在 godaddy 服务器上不起作用


Font's and font face not working on godaddy server

我使用近 300 种字体,所有 300 种字体在本地主机上都能正常工作,但当我上传到服务器上时,它们不起作用。我正在使用.ttf和.otf文件灭绝。波纹管是我的示例代码。

/*8Bit font */
  @font-face { font-family: 8_bit_1_6 Regular; src: url('fonts/8bit16.TTF'); }
  @font-face { font-family: Pixelic War; src: url('fonts/Pixelic War.TTF'); }
  @font-face { font-family: PKMN Pinball; src: url('fonts/PKMN-Pinball.TTF'); }
  @font-face { font-family: TerrabloX; src: url('fonts/TerrabloX.TTF'); }

查看我的实时链接

我得到了解决方案,文件 extensions.my 旧文件扩展名是..TTF。OTF 现在我正在使用 .ttf ,.otf.有时它不适用于特定文件然后使用 ..TTF。OTF 并删除空格, - 从文件名它现在工作得更好.