什么字体文件类型不支持Android(与Typeface.createFromAsset使用,例如)?
What font file types does Android support (for use with Typeface.createFromAsset, for instance)?
我似乎无法找到一个列表中的文档。我可以看到TTF被提到了一些教程,有人在这里暗示,OTF也支持,但现在有一个COM prehensive列表显示了字体文件类型由不同的API级别支持?
I can't seem to find a list in the documentation. I can see TTF gets mentioned in some tutorials and someone on here hinted that OTF is also supported now but is there a comprehensive list that shows what font file types are supported by the different API levels?
非常感谢。
编辑:要具体:?可有人告诉我它提到字体的兼容性和支持的字体类型的文档 - 如果有什么事情有
to be specific: can someone show me where it mentions font compatibility and supported font types in the docs - if there is anything there?
Android的文档不指定它supports.When安卓不喜欢自定义字体,而不是引发异常的字体,它似乎代替德罗伊德桑( SANS)。
Android docs doesn't specify the fonts that it supports.When Android dislikes a custom font, rather than raising an Exception, it seems to substitute Droid Sans ("sans").