Forum Discussion
lisakb140
7 years agoVisitor
Thanks-- I think I got this working actually-- turns out my node needed to be:
Which was a little different.
Thank you for double checking the .brs code-- I have a question, though..I just put a secondary font in my XML file (in a node), just for a section with a different font treatment. However, I didn't put that font in my brs file, and it still works. If that's so, then what is the point of putting it in the brs file? Is that necessary??
<Label
id="Title"
translation="[60, 135]"
color="0xf5f5f5"
font="font:Muli-ExtraLight">
<Font role="font"uri = "pkg:/fonts/Muli-ExtraLight.ttf" size="24"/>
</Label>
Which was a little different.
Thank you for double checking the .brs code-- I have a question, though..I just put a secondary font in my XML file (in a node), just for a section with a different font treatment. However, I didn't put that font in my brs file, and it still works. If that's so, then what is the point of putting it in the brs file? Is that necessary??
- oa241536 years agoBinge Watcher
It gives me error on role?
cvc-complex-type.3.2.2: Attribute 'role' is not allowed to appear in element 'Font'.