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.
-
Text-Size
Pythonista • posted -
Text on Layers
Pythonista • posted -
Layer's Image Being Blur
Pythonista • posted