It’s not trimmed, it’s incorrect shaping.
In Arabic, letters change their shapes depending on whether they’re at the beginning, middle, or end of the word. The letter taa (two dots smiley face) at the end of the word should look like a smiley-face (Google screenshot). Defold is showing the version of taa that’s in the middle of two other letters.