#Calculate the width of the 3D Fonts

1 messages · Page 1 of 1 (latest)

sharp gust
#

I wrote a Font3D script that builds font 3D chars. However I am having trouble with the spacing between the 3D Letters. I just can't get it right. Either the spacing between the chars is too small or too big, and I can't get it fixed for some reason. I will put an image to show how it looks like. Here is my script that i wrote:
https://pastebin.com/Fj7DhCFn
I made the Font3D models with Blender and exported them as .OBJ.

I would be happy if someone could help me out with this. Thanks!

#

I was thinking of calculating the width of the font 3d geometry and then add a space between the letters, so it looks like a clean text.