I do this in my app, it's not pretty code but it works:
1. Create Sprite
2. Position and Size Sprite
3. Render()
4. Create Text
5. Position and Size Text over Sprite
6. Render()
7. GetImage()
I have tried all sorts of ways and this is the only one that works consistently. But...
If your image or text has semi-transparent areas, then the entire image becomes semi-transparent in this area. For example, if you put solid text over a 50% opaque image, the text becomes 50% opaque too
It broke at 108 Beta 3
. The text no longer renders. This may be because of other issues I haven't had time to look into, but my 1076/108 Beta 2 code no longer worked by Beta 3. The top image is beta 3, the lower image is Beta 2...