-
I don't know how, but I really want multiple colors in one text box. I don't think it's possible but I want to hear opinions. And if not, how I could do it myself. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You can draw some characters in one colour, and use https://pillow.readthedocs.io/en/stable/reference/ImageFont.html |
Beta Was this translation helpful? Give feedback.
-
@JohnnyJTH if you happy with this, could you mark this as answered? |
Beta Was this translation helpful? Give feedback.
You can draw some characters in one colour, and use
textsize
to find out how wide that part was, and draw the next part in another colour with that width offset.https://pillow.readthedocs.io/en/stable/reference/ImageFont.html