@font-face 在其他计算机上不工作 - 具有正确的文件链接
@font-face not working on other computers - with correct file links
我使用 Font Squirrel Webfont Generator 创建了字体堆栈,并且 URLS 似乎工作正常(我使用了整个地址来确定。)在没有字体的计算机上仍然看不到 webfont安装。所以不是常见的问题......有什么想法吗?非常感谢!
@font-face { font-family: 'NorthernSoul-Caps';
src: url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.eot'); /* IE9 Compat Modes */
src: url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.woff2') format('woff2'), /* Super Modern Browsers */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.woff') format('woff'), /* Pretty Modern Browsers */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.ttf') format('truetype'), /* Safari, Android, iOS */
}
尝试删除最后一行末尾的逗号(或用分号替换):
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.ttf') format('truetype'), /* Safari, Android, iOS */
我使用 Font Squirrel Webfont Generator 创建了字体堆栈,并且 URLS 似乎工作正常(我使用了整个地址来确定。)在没有字体的计算机上仍然看不到 webfont安装。所以不是常见的问题......有什么想法吗?非常感谢!
@font-face { font-family: 'NorthernSoul-Caps';
src: url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.eot'); /* IE9 Compat Modes */
src: url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.woff2') format('woff2'), /* Super Modern Browsers */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.woff') format('woff'), /* Pretty Modern Browsers */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.ttf') format('truetype'), /* Safari, Android, iOS */
}
尝试删除最后一行末尾的逗号(或用分号替换):
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.ttf') format('truetype'), /* Safari, Android, iOS */