Forum Discussion
norcaljohnny
7 years agoRoku Guru
Have you considered something like this?
Now all your label fonts will use your font. Assuming you want to reuse your font for the labels and not duplicate font codes.
label = CreateObject("roSGNode", "Label")
font = CreateObject("roSGNode", "Font")
font.uri = "pkg:/fonts/yourFont.ttf"
font.size = 20
label.font = font
Now all your label fonts will use your font. Assuming you want to reuse your font for the labels and not duplicate font codes.