【发布时间】:2012-06-12 07:05:19
【问题描述】:
除了Android Browser 和Firefox for Android(来自http://oftn.org/css/global.css)之外,以下@font-face 声明在每个主要浏览器(including Chrome for Android) 中都能正常工作:
@font-face {
font-family: "OFTN Aller";
src: url("../fonts/OFTN-Aller-Bold.woff") format("woff"),
url("../fonts/OFTN-Aller-Bold.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "OFTN Aller";
src: url("../fonts/OFTN-Aller.woff") format("woff"),
url("../fonts/OFTN-Aller.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
我做错了什么?
截图
Android 4.0.3 浏览器:
Windows 7 上的 Chrome 19:
Windows 7 上的 Firefox 13:
【问题讨论】:
标签: android css google-chrome font-face