4
产生完全不同的结果只是抓住了一个@font-face
包我们的网站,并把下面的CSS代码:@字体面在浏览器中
@font-face {
font-family: 'CartoGothicProLight';
src: url('fonts/cartogothicpro-light-webfont.eot');
src: url('fonts/cartogothicpro-light-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/cartogothicpro-light-webfont.woff') format('woff'),
url('fonts/cartogothicpro-light-webfont.ttf') format('truetype'),
url('fonts/cartogothicpro-light-webfont.svg#CartoGothicProLight') format('svg');
font-weight: normal;
font-style: normal;
}
不幸的是,结果是在每个浏览器真的不同。只有Firefox才能在Windows和OSX上正确使用;其他人都在这个地方。
以下是我们所看到的:
任何提示或什么可能是错误指示器/浏览器与字体的行为将是非常赞赏。