在我的 TVML 应用程序中,我可以使用 tv-text-style:none 设置字体样式属性,例如 font-size 和 font-weight,但是我无法设置 font-family 属性,这似乎被忽略了:
var Template = function() { return `<?xml version="1.0" encoding="UTF-8" ?>
<document>
<head>
<style>
.customText {
tv-text-style: none;
tv-position: center;
color: white;
font-size: 40px;
font-weight: bold;
font-family: Courier;
}
</style>
</head>
<paradeTemplate>
...
<listItemLockup>
<title>Title</title>
<relatedContent>
<divTemplate>
<title class="customText">abcABC</title>
</divTemplate>
</relatedContent>
</listItemLockup>
...
我可以设置与系统字体系列不同的字体系列吗?
谢谢你的帮助,
卢卡