【发布时间】:2011-11-25 04:47:28
【问题描述】:
我想在 WebViewb 中使用我的自定义字体
我的 html 文件在 webView 中加载但仍然没有字体
我的字体有 Unicode 字符
我在 android 2.2 上工作
mWebView.loadUrl("file:///android_asset/P_007.html");
我的CSS:
<STYLE type="text/css">
@font-face {
font-family: AQF_P007_HA;
src: url("AQF_P007_HA.TTF");
}
body {
font-family: AQF_P007_HA;
font-style:normal;
font-weight: normal;
color: black;
font-size: medium;
mso-font-charset: 0
}
</STYLE>
【问题讨论】:
-
该代码段应该代表什么?!
标签: android css fonts android-webview android-fonts