Forum Discussion

philotas's avatar
philotas
Roku Guru
9 years ago

How to modify System Fonts in SceneGraph?

Is it possible to make different version of the Build in SceneGraph Fonts, for example making a smaller, bigger or italic version of one font?

In BrightScript i could do something like this to get 10pt italic font, but in SceneGraph?


    reg = CreateObject("roFontRegistry")
    font = reg.GetDefaultFont(10, false, true)

 
I know, that I could create a Font node with my embedded TTF but I am asking for creating versions of the build in fonts.
thanks!

14 Replies