我正在使用 phonegap 构建 android 应用程序,但我遇到了一些问题。
<style type="text/css">
@font-face{
font-family: customfont;
src: url("fonts/THSarabunNew.ttf") format('truetype');
}
body {
font-family: customfont;
font-size:30px;
}
</style>
我尝试在index.html文件中使用此代码,但我无法在应用程序中使用我的自定义字体。
请告诉我在 android 应用程序的 phonegap 中使用自定义字体的方法。
谢谢