支持 android、ios 和黑莓操作系统的默认字体列表
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12068319/
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
Default list of fonts which supports android,ios and blackberry operating systems
提问by helloworld
Scenario
设想
We are group of friends whom developing the applications for android, blackberry and ios operating systems, we are in need to implement the font family changes in our application.
我们是一群开发 android、blackberry 和 ios 操作系统应用程序的朋友,我们需要在我们的应用程序中实现字体系列的更改。
What I need:
我需要的:
Is there any common list of fonts which are supported by all three operating systems?
是否有所有三种操作系统都支持的通用字体列表?
回答by Simon Epskamp
iOS:Here is a list of the default fonts supported on iOS: http://iosfonts.com/
iOS:以下是 iOS 支持的默认字体列表:http: //iosfonts.com/
Android:There are only three system wide fonts in Android; normal (Droid Sans), serif (Droid Serif), and monospace (Droid Sans Mono). Source: http://wiki.mobileread.com/wiki/List_of_fonts_included_with_each_device
Android:Android中只有三种系统宽字体;正常 (Droid Sans)、衬线 (Droid Serif) 和等宽 (Droid Sans Mono)。来源:http: //wiki.mobileread.com/wiki/List_of_fonts_included_with_each_device
Blackberry:http://supportforums.blackberry.com/t5/Adobe-AIR-Development/List-of-available-fonts/td-p/1243913
黑莓:http : //supportforums.blackberry.com/t5/Adobe-AIR-Development/List-of-available-fonts/td-p/1243913
回答by Warpzit
No and yes.
不,是的。
If you have the font you can display any font on Android but default Android only have roboto font.
如果你有字体,你可以在 Android 上显示任何字体,但默认的 Android 只有机器人字体。
iOS has at least helvetica family of fonts and I believe it also supports custom fonts (please correct me if I'm wrong).
iOS 至少有 helvetica 系列字体,我相信它也支持自定义字体(如果我错了,请纠正我)。
Edit: I believe there is no build in fonts that are supported on all the platforms, BUT all platforms support custom fonts so you should just pick one and use it.
编辑:我相信没有所有平台都支持的内置字体,但所有平台都支持自定义字体,因此您应该选择一种并使用它。
For iOS custom fonts see here: Can I embed a custom font in an iPhone application?
对于 iOS 自定义字体,请参见此处:我可以在 iPhone 应用程序中嵌入自定义字体吗?
For Android custom fonts see here: Custom Fonts in Android
对于 Android 自定义字体,请参见此处:Android 中的自定义字体
For Blackberry custom fonts look here: To set multiple fonts in blackberry
对于黑莓自定义字体,请看这里:在黑莓中设置多种字体
Hope that clarified a little
希望澄清一点
回答by Pandiyan Muthu
sorry it's not possible but android and blackberry is supported sans and serif , blackberry and ios support Arial
抱歉,这是不可能的,但支持 android 和 blackberry sans 和 serif,blackberry 和 ios 支持 Arial