2

我将这些阿拉伯字体转换为与 CSS @font-face 一起使用,它们可以在桌面上工作,但不能在 iOS 上工作。我按照其他线程的建议尝试了很多东西,但没有任何乐趣。

这是页面:http ://bit.ly/WuBnaa <- 在桌面上效果很好,而不是在 iOS 上。

4

2 回答 2

0

您的@font-face 中没有 svg 字体,请参见此处

@font-face {
    font-family: 'AlFatemi52';
    src: url('http://i4ideas.net/fatemi52/alfatemi152-webfont.eot');
    src: url('http://i4ideas.net/fatemi52/alfatemi152-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://i4ideas.net/fatemi52/alfatemi152-webfont.woff') format('woff'),
         url('http://i4ideas.net/fatemi52/alfatemi152-webfont.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

如果您也将上述字体转换为 svg 字体,请确保您也获得了阿拉伯文范围(大多数在线转换服务会删除 ascii 范围之外的所有内容)。

于 2012-11-28T09:00:51.283 回答
-1

总结一下:iOS 上的 WebKit 不支持 SVG 格式。

您将不得不提出另一种格式,因为没有人知道(Apple 除外)何时会实施(如果有的话)。

于 2012-11-28T08:34:45.460 回答