我想在我的应用程序中更改字体,但以下代码无法使用:
。
@font-face
{
font-family: "ArnoProBold";
src: url("resources/fonts/ArnoProBold.ttf");
}
@font-face
{
font-family: "ArnoProCaption";
src: url("resources/fonts/ArnoProCaption.ttf");
}
@font-face
{
font-family: "Arn";
src: url("resources/fonts/ArnoProLightDisplay.ttf");
}
font
,例如:label { font: ArnoProBold; }
或.your_class { font: ArnoProBold; font-size: 12px;}
。希望这可以帮到您。;) - hekomobilefont-weight: normal
时,ArnoProBold
是什么? - Peyman Mohamadpour