Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

<d> tags are causing text to overlap

A topic by borispixel created 6 days ago Views: 29 Replies: 2
Viewing posts 1 to 2
(2 edits)

Hello, I'm on 2022.3.62f3 LTS and I updated SuperTextMesh to 1.14.10 and I noticed a lot of overlapping text. A lot of my dialogue contains `<d>` tags, resulting it to look like this:

The text here is: `alpha beta<d> charlie delta<d><d=3>echo foxtrot`

Here's the rest of the Inspector:


It was working fine in previous versions. I don't think I'm doing anything too complicated, it's mostly setting the Text and calling Read()

Developer (1 edit)

Ok, I think I know what this is... I had to change the behaviour of the <d> tag to insert a zero-width space afterwards since using <d><e=myEvent><d> just compounded on the last character. So the character spacing being set to -0.1 is basically causing double character spacing by moving those zero-width spaces.


Looks like I was accounting for that in a few places, but forgot some... should be fixed, will publish this asap!


EDIT: Update should be out, look out for v1.14.11!

Perfect! It's working just like before. Thank you for the quick hotfix.