I have some code that downloads non latin based fonts as needed. Once it is finished downloading I call my API to fetch the updated text. However when trying to update rowLabelFont it shows only squares. Upon reload of the channel (Home + relaunch) it shows correctly.
I have tried setting content to invalid and then setting content again in hopes that would fix it, but it appears rowLabelFont is rendered before the font can be set somehow?
LocalFileBrowser = CreateObject("roFileSystem")
if LocalFileBrowser <> invalid
exists = LocalFileBrowser.Exists(m.global.appConfig.SEMIBOLD_FONT_URL)
print "EXISTS: " exists
print "FONT URL: " m.global.appConfig.SEMIBOLD_FONT_URL
if exists = true
print "FONT URL: " m.global.appConfig.SEMIBOLD_FONT_URL
fontSemiBold = CreateObject("roSGNode", "Font")
fontSemiBold.uri = m.global.appConfig.SEMIBOLD_FONT_URL
fontSemiBold.size = 36
m.homeView.rowLabelFont = fontSemiBold
end if
