Hi, I was wondering if anyone is familiar of an add-on that would let me display icons/sprites in text fields, like emojis. I found this one:

https://github.com/rakugoteam/Emojis-For-Godot

But I want to use my own icons, rather than emojis. I'm thinking I could just replace the sprite atlas but figured I'd ask around first.

There is a feature in Text Mesh Pro in Unity where you can import sprites into the Text Mesh Pro component, and then display them by using a string i.e. <sprite=aSpriteID> would display the sprite of a given ID number in the text field. Ideally I'm looking for something like that.

Thanks

You can create a custom font that makes use of the Unicode private use area to store icons, and load this font as a fallback font to another DynamicFont. This is how Font Awesome's icon font works, for instance.

a year later