Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
WSJTim
Binge Watcher

Label with custom font disappears with certain sizes

I have a Label with a custom font. For example:

<Label id="label"
color="0xffffff7f"
width="685">
<Font role="font" uri="pkg:/fonts/font.otf" size="22"/>
</Label>

At certain times I'll notice that the label has mysteriously disappeared. If I increase the font size by 1 or decrease it by 1, it'll show up again. But back to the original size, it disappears. I haven't been able to discern what I'm doing (if anything) that makes it disappear which, obviously, makes me nervous that it'll happen in prod.

Has anyone seen this situation?

Tags (2)
0 Kudos