Html 我的阿拉伯语“网络字体”选择是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7185106/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What are my "web font" choices for Arabic?
提问by donut
I am working on a WordPress site that will be entirely in Arabic (except for the backend). I am an English speaker and have never dealt with Arabic in my time as a web developer. What font choices do I have that should be available on the vast majority of Arabic speakers' computers?
我正在开发一个完全使用阿拉伯语的 WordPress 网站(后端除外)。我是一名讲英语的人,在我作为 Web 开发人员的时候从未接触过阿拉伯语。我有哪些字体选择应该在绝大多数讲阿拉伯语的计算机上可用?
回答by Basil Bourque
Font stack
字体堆栈
Be sure to use a CSS 'font stack' to list many fonts by name in order of your preference. For example:
请务必使用 CSS '字体堆栈' 来按您的喜好顺序按名称列出许多字体。例如:
font-family: "Geeza Pro", "Nadeem", "Al Bayan", "DecoType Naskh", "DejaVu Serif", "STFangsong", "STHeiti", "STKaiti", "STSong", "AB AlBayan", "AB Geeza", "AB Kufi", "DecoType Naskh", "Aldhabi", "Andalus", "Sakkal Majalla", "Simplified Arabic", "Traditional Arabic", "Arabic Typesetting", "Urdu Typesetting", "Droid Naskh", "Droid Kufi", "Roboto", "Tahoma", "Times New Roman", "Arial", serif;
CAVEATThe fonts above were arbitrarily chosenas possibly having Arabic glyphs. That list is notmy recommendation; I have not seen any of those fonts as I neither read nor speak Arabic. You are responsible for making your own choice of fonts.
警告上面的字体是随意选择的,因为可能有阿拉伯字形。该列表不是我的建议;我没有看到任何这些字体,因为我既不会读也不会说阿拉伯语。您有责任自行选择字体。
Alan Wood's Unicode Resources provides lists of Arabic fonts for:
Alan Wood 的 Unicode 资源提供了阿拉伯字体列表,用于:
Those lists are somewhat outdated. You may find that Apple, Microsoft, and the Linux makers have been adding more and better fonts to better support non-European scripts in recent years.
这些清单有些过时了。您可能会发现 Apple、Microsoft 和 Linux 制造商近年来一直在添加更多更好的字体以更好地支持非欧洲脚本。
Alan Wood also provides this Arabic test page.
Alan Wood 还提供了这个阿拉伯语测试页。
DejaVu Font
DejaVu 字体
DejaVuis an actively developed, open-source, free license, and free of cost font. Has wide support for various scripts including Arabic. Installed by default on many Linux distros. Has serif, sans serif, and monospace families. See PDF samples.
DejaVu是一种积极开发的、开源的、免费许可证和免费字体。广泛支持包括阿拉伯语在内的各种脚本。默认安装在许多 Linux 发行版上。有衬线、无衬线和等宽字体系列。请参阅PDF 示例。
Most glyphs are well designed. If you find any to be lacking, you are welcome to design and contribute improvements.
大多数字形都设计得很好。如果您发现任何不足,欢迎您设计和贡献改进。
BEWAREDejaVu is released in different packages. The LGCdownloads (Latin, Greek, Cyrillic) omit Arabicand similar character sets due to technical issues. Pay close attention when choosing from their download page.
当心DejaVu 以不同的包发布。该LGC下载(拉丁文,希腊文,西里尔文)省略阿拉伯语以及类似的字符集,由于技术问题。从他们的下载页面中选择时要密切注意。
Google for "font survey" to find percentage of computers that have been found to have various fonts installed.
Google 进行“字体调查”以查找已发现安装了各种字体的计算机的百分比。
Fonts supplied with:
随附的字体:
- Mac OS X (Apple)
- Across generations(click to sort on Target script)
- iOS (Apple)
- Windows (Microsoft)
- Across generations(click to sort on Target Script)
- Windows 8
- Windows 7
- Windows Vista
- Windows XP SP2
回答by tuk0z
+1 with Tahoma and DejaVu ("DejaVu sans" for emphasis) were the way to go, but things are changing --thanks God-- with first Arabic Web Fonts coming out earlier this year.
+1 与 Tahoma 和 DejaVu(强调“DejaVu sans”)是要走的路,但事情正在发生变化 - 感谢上帝 - 今年早些时候推出了第一批阿拉伯语网络字体。
- Alefba has put some useful information and ressources on the subject, e.g. Arabic and Persian Webfontswith WordPress blogs
- See also How to use custom arabic fonts in your web design projectsrecently published by Hussain from Bahrain Web Design
- Alefba 提供了一些关于该主题的有用信息和资源,例如带有 WordPress 博客的阿拉伯语和波斯语 Webfonts
- 另请参阅如何在您的网页设计项目中使用自定义阿拉伯字体最近由巴林网页设计的侯赛因发布
Hope this will be of any help for you or any other Arabic website designer.
希望这对您或任何其他阿拉伯语网站设计师有帮助。
回答by Omer M.
Google provides free fonts
谷歌提供免费字体
Getting Started Guide: https://developers.google.com/webfonts/docs/getting_started#Quick_Start
入门指南:https: //developers.google.com/webfonts/docs/getting_started#Quick_Start
回答by ala'a
There are a list of these kind of fonts. Here are the ones I think are best, but you have to decide for yourself of what font is best for your website.
有这些字体的列表。以下是我认为最好的字体,但您必须自己决定哪种字体最适合您的网站。
WebFonts:
网页字体:
- Dinnext
- Greta
- Arabic
- Droid Sans
- Jennah
- Helvetica
- Ge
- SS
- Cocon
- ff Frutiger
- Hacen
- 丁宁
- 格蕾塔
- 阿拉伯
- Droid Sans
- 珍娜
- 黑体字
- 葛
- SS
- 椰子
- ff Frutiger
- 哈森
回答by Samy Reef
Tahoma from 0.5em to 1.1 em and Arial from 1.2em and up
Tahoma 从 0.5em 到 1.1em 和 Arial 从 1.2em 和更高