没有像其他人一样,我不希望使用自定义字体。我要寻找的中的WebView安全字体,可以在不使用CSS3的定制@字体面,它加载TTF / WOF / EOT字体从网络/本地存储中使用列表。
No, like others, I don't want to use custom fonts. I am looking for list of WebView safe fonts that can be used without using CSS3's custom @font-face, which loads ttf/wof/eot font from web/local storage.
更精致的问题是: 什么是列表字体的附带Android操作系统,可里面的WebView?使用
例如,宋体,宋体,无衬线等字体都可以使用(不知道),那么在什么地方寻找到100%的把握?
For example, Arial, Verdana, sans-serif, etc font can be used (not sure), so where exactly to look for to be 100% sure?
感谢
web视图的:它采用了WebKit渲染引擎来显示网页
据消息人士透露code, android.webkit.WebSettings
包含以下字段:
According to the source code, android.webkit.WebSettings
contains the following fields:
private String mStandardFontFamily = "sans-serif";
private String mFixedFontFamily = "monospace";
private String mSansSerifFontFamily = "sans-serif";
private String mSerifFontFamily = "serif";
private String mCursiveFontFamily = "cursive";
private String mFantasyFontFamily = "fantasy";
因此,这些是字体。
Accordingly, these are the fonts.
有一个在WebKit的地方掩埋可能更多的字体。然而,它们似乎不被访问。
There is probably more fonts buried somewhere in the WebKit. However, they do not appear to be accessible.
这符合了Linux的默认字体:
This complies with the default fonts of Linux:
无衬线字体:宋体黑,宋体,Comic Sans字体MS,MS投石机和Verdana serif字体:格鲁吉亚和宋体 等宽字体:安代尔单声道和宋体 幻想字体:影响和Webdings Sans-serif fonts: Arial Black, Arial, Comic Sans MS, Trebuchet MS, and Verdana Serif fonts: Georgia and Times New Roman Monospace fonts: Andale Mono and Courier New Fantasy fonts: Impact and Webdings底线,没有COM prehensive字体为Android的WebKit列表。
Bottom line, there is no comprehensive list of fonts for the Android WebKit.