您不能在Firefox中使用@ font-face,而将字体托管在其他域中如果要使用绝对URL为@ font-
face指定字体,或在其他域中托管的字体,则需要提供该字体使用访问控制标头,特别是将Access-Control-Allow-Origin标头设置为“
*”或允许请求字体的域。这也适用于在其他子域上托管的字体。如果您使用的是Apache,则可以尝试将其放入.htaccess中并重新启动服务器
AddType application/vnd.ms-fontobject .eotAddType font/ttf .ttfAddType font/otf .otf<FilesMatch ".(ttf|otf|eot)$"><IfModule mod_headers.c>Header set Access-Control-Allow-Origin "*"</IfModule></FilesMatch>



