I presume this is because of threading; but can't be sure as BrightScript seems to not have very thorough errors regarding thread boundaries (which I worked out the hard way after a tinkering about).
So - how am I meant to get hold of fonts anywhere outside of the main app?
I tried passing it around the globalAA; but that doens't work
BS has no global scope that seems to permit objects, that I can use (without it silently failing).
how does one do this? I'm trying to debug a font that's not appearing in my label btw. The font family is present in the main script; but despite using the family name, never shows up in my label.
George Cook
https://georgejecook.github.io/
https://linkedin.com/in/georgejecook/
Roku developers slack group (https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA) : georgejecook
Contact me on roku developer slack group, or via pm to discuss consultancy/work opportunities/rooibos unit testing framework