2
请帮忙!!!自定义字体(woff2)不适用于使用Visual Studio Comunity和Cordova的Android应用程序
我有一个应用程序与Visual Studio Comunity和Cordova一起运行,它在PC中运行时非常完美,当我模拟它时,但是当我将它安装在我的单元格中时,字体无法正常工作,已经尝试了我在这个页面中找到的每一个选项,但它不起作用。
我刚才在index.html的
div>
<style scoped>
@font-face {
font-family: 'Inknut Antiqua';
font-style: normal;
font-weight: 400;
src: url(InknutAntiqua.woff2) format('woff2');
}
</style>
</div>
<div>
<h2 style="font-family: 'Inknut Antiqua'">Aqui va el Titulo</h2>
</div>
这是目录结构我有这样的代码。
/Site
-----/css
-----/imgs
-----index.html
-----InknutAntiqua.woff2
P.D.我也在使用引导程序(<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">)
,以防万一像JQuery那样对其他人造成麻烦,就像我在其他文章中看到的那样。
谢谢!