使用@ font-face CSS stylewith阿拉伯字体? [英] Using @font-face CSS stylewith an Arabic font?
问题描述
我编写以下CSS代码使用阿拉伯字体创建字体风格,我使用的是Windows操作系统...
t阅读它,我在chrome,firefox,explorer和歌剧测试...四个浏览器不能识别字体...
这里是我的CSS代码...
@media屏幕,打印{@ font-face {
font-family:'FUFONT'
src:url(../ fonts / ScheherazadeRegAAT.ttf)format(truetype-aat),url(../ fonts / ScheherazadeRegot.ttf)format(opentype);
font-weight:bold; }}
并按如下方式调用...
.navigation ul li a {font-family:FUFONT,Arial,Helvetica,sans-serif; font-size:18px;}
你认为问题是什么?
简短的答案:到目前为止,没有阿拉伯字体的生成器,所以我们可以在web中使用它。
更进一步的说明:使用 http://www.fontsquirrel.com/fontface/generator 时
与专家::
CSS格式:Smiley
$ b b
您将能够在网页中看到您的阿拉伯字体有一个问题:没有字母重塑,这意味着一个字的字母不会联合在一起,因为没有发电机,直到现在支持所需的OpenType功能对于阿拉伯语。
I am writing the following CSS code to create font face style using an Arabic font, and i am using windows OS...
the problem that browsers doesn't read it, i am testing on chrome, firefox, explorer and opera... the four browsers doesn't recognize the font...
here is my CSS code...
@media screen, print { @font-face {
font-family: 'FUFONT';
src: url(../fonts/ScheherazadeRegAAT.ttf) format("truetype-aat"), url(../fonts/ScheherazadeRegOT.ttf) format("opentype");
font-weight:bold; } }
and call it as follow...
.navigation ul li a {font-family: FUFONT, Arial, Helvetica, sans-serif; font-size:18px;}
what do you think the problem is?
The short answer: till now there is no generator for arabic fonts so we can use it in web.
Farther explanation: when using http://www.fontsquirrel.com/fontface/generator with Expert:
Subsetting: No Subsetting.
CSS Formats: Smiley
you'll be able to see your Arabic font in the web pages with one problem: no letter reshaping which means that the letters of one word will not be joint together, because there's no generator till now support the required OpenType functionality for Arabic language.
这篇关于使用@ font-face CSS stylewith阿拉伯字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!