decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

Plain Text size difference #1059

Closed nearnshaw closed 4 months ago

nearnshaw commented 8 months ago

The size of text from the Plain Text smart item is different in Babylon in the Editor vs Unity in Preview

See in this image, the text is properly inside the editor, but it's out of bounds in preview

Image

nearnshaw commented 5 months ago

This is much better now, The height of the text seems to match well. But there's still differences in alignment of the text with the surroundings. See in these examples, I aligned each word with these colored shapes, but the text turned out off center.

Image

Image

The font we're using is also VERY different and monospace. Maybe that's the main problem. We should use a non-monospace font closer to the one we use in DCL