Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Differences in character size (pixels) and how to deal with them, suggestions?

Asked by 7 years ago
Edited 7 years ago

So there's this problem where each and every character seems to have its own character width. You can observe this in ROBLOX, it looks somewhat like this (Wordpad replicates it well enough):

http://i.imgur.com/yHbO7St.png

-OR-

http://i.imgur.com/yHbO7St.png

My question is how can you deal w/this when you need to have several text labels each generating what seems to be random texts and you need to account for this difference in width (pixels) how would you deal with each character seeming to have its own length?

Suggestions, ideas, or how-to's are appreciated. Please help!

I'm asking for pointers on how to BEST do this.

0
I'm not sure that there is any good way to deal with it. All of the character sets that are used for computing have variations in character size. The reason for this is the fact that if they where all the same default size some characters would look squashed or streched. shadownetwork 233 — 7y
0
TextLabels have a TextSize property (or something to that effect) chess123mate 5873 — 7y

Answer this question