(可能与Windows Phone 8 HTML5 App 中的 Webfont重复...但是,特别是有问题的 Phonegap)
我正在尝试在我的应用程序中使用自定义网络字体。它无法加载字体。(科尔多瓦 2.3.0 和 Windows Phone 8)。
似乎根本没有加载 css @font-face 块。无论哪种字体格式都没有运气。在构建操作中添加为“内容”的字体。
@font-face {
font-family: "SSPika";
src: url('ss-pika.eot');
src: url('ss-pika.eot?#iefix') format('embedded-opentype'),
url('ss-pika.woff') format('woff'),
url('ss-pika.ttf') format('truetype'),
url('ss-pika.svg#SSPika') format('svg');
font-weight: normal;
font-style: normal;
}
与另一个问题类似,远程加载相同的内容(在 iframe 中)可以完美呈现。
有任何想法吗?