Defold-RichText

I’m having an issue with RichText. I see there was some talk about vertical alignment earlier and I suspect this is related. I am using RichText primarily for the purpose of embedding symbols in my text (for example, “This attack causes EXPLOSION” would look something like “This attack causes :boom:”.

This is the text example I have generated:

As you can see, the smiley face and the bear are both not aligned correctly with the text.

The smiley face is an image, and the bear is a font (bit larger than I want it to be, but just trying to highlight the issue). Is there a solution for this in RichText already, and am I just missing it? Or is this something that isn’t implemented?

1 Like