This thread is from 2012 where the ui module didn't exist yet, so the above all applies only to scene scripts. With a UI you're probably best off using a ui.Label and setting its font and text_color attributes.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.