Hello Forum,
i got a real beginners question.
I still don't understand how to set the style of text on a background image.
At the moment I use the following code to display text:
I tried to change only the font by doing this:Code:self.img.text((3, 40),u'Test ',0xffffff)
and it works fine.Code:self.img.text((3, 40),u'Test ',font=u'Albi17b')
But how can I change the style?
My guess was this:
but this turned out to be incorrect.Code:self.img.text((3, 40),u'Test ',style=u'STYLE_BOLD')
Can someone please give an example on how to change the style of my text?
thx

Reply With Quote

