将阿拉伯语TTF / OTF字体转换为woff,eof? [英] Convert Arabic TTF/OTF fonts to woff, eof?

查看:259
本文介绍了将阿拉伯语TTF / OTF字体转换为woff,eof?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我知道有类似的问题< a> to mine,

First I know there are similar questions to mine,

,我尝试过字体松鼠发生器 阿拉伯语字体,所有这些都以正确的英语呈现文本,但没有一个使用阿拉伯字母!

and I do tried Font Squirrel Generator for tons of Arabic fonts, all of them render text in English correctly but none of them worked with Arabic letters!!

一个桌面工具(因为所有的网络应用程序都不工作)比可以转换阿拉伯字体而不破坏它们

so is there a desktop tool (since all web apps is not working) than can convert Arabic fonts without breaking them ??

我购买了阿拉伯字体,我只想转换所以我可以在网络上使用它,我不喜欢付费订阅一些花哨的网站,如 fonts.com 每个一个月来为我提供这些字体!

I have purchased an Arabic font, and I just want to convert it so I can use it on the web, and I did not like the idea to pay subscriptions to some fancy websites like fonts.com each month to provide me with these fonts !

如果你想知道我的CSS在这里你走:

and in case you're wondering about my CSS here you go:

/* CSS */
@font-face {
    font-family: 'GESSTVBold';
    src: url('arabic-3/ge_ss_tv_bold-webfont.eot');
    src: url('arabic-3/ge_ss_tv_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('arabic-3/ge_ss_tv_bold-webfont.woff') format('woff'),
         url('arabic-3/ge_ss_tv_bold-webfont.ttf') format('truetype'),
         url('arabic-3/ge_ss_tv_bold-webfont.svg#GESSTVBold') format('svg');
    font-weight: normal;
    font-style: normal;

} 

.ar {
    font-family:"GESSTVBold";  
}

<!-- HTML -->
<h1 class="ar">مرحبا بالخط العربي</h1>

感谢

推荐答案

希望现在不太晚,尝试 font2web ..完美的工作,只是保存您的html文件与codepage-1256编码。

Hope it's not too late, try font2web .. worked for me perfectly, just save your html file with codepage-1256 encoding.

这篇关于将阿拉伯语TTF / OTF字体转换为woff,eof?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆