Forum Discussion
squirreltown
7 years agoRoku Guru
font = CreateObject("roSGNode", "Font")
font.uri = "pkg:/images/optima.otf"
font.size = 42
font.color="0xFFFFFFFF"
I don't use the xml but this works fine in the init() function in my .brs file.
random_user
2 years agoNewbie
you wouldnt believe that using the font file in the images instead of the fonts directory would be the solution for me, isnt the folder of fonts being included to the bundle ? where is that even defined ?
- renojim2 years agoCommunity Streaming Expert
random_user, you can put the font file anywhere you want - you just have to use the proper path in your code/XML. It sounds like however you're creating your zip file it isn't pulling in the fonts directory.