Fonts are messed up

Ok so I imported a truetype font into Unity. I made a 3d text that says basic information and this is what I see. Is this a bug?

It’s not a bug, you either haven’t told Unity the correct font to use in the 3D text or you’re not using the correct material.

–Eric

I dragged the font into Unity, I made a new 3d text, set it as the font, and thats what happened. What am I doing wrong?

You need to use an appropriate material, otherwise it doesn’t know what texture to use. Typically you’d use the material generated from the font.

–Eric

I am using the material generated from the font. :?

Then you’re not using the correct TTF font. :wink: You need both: the material so it can display the texture, and the TTF font itself, so it knows what metrics to use when UV mapping the texture for each character. If either one is wrong, you get a mismatch where you try to map characters from one font onto the texture from another.

–Eric

Once again I have the font itself, the font texture, and the font material… :roll:

Just admit it, its a bug :twisted:

Sorry, but you’re not doing it right. :wink: Your screenshot is exactly what it looks like when you do it wrong. So, don’t do it wrong anymore and it will look nice…

–Eric

Well I found a tutorial on how to do it “the right way” and im doing it just like them… I tried a couple different fonts. All have the same problem. :x :sweat_smile:

Try the Courier font in Standard Assets.

–Eric

The standard fonts work perfectly.

Do those fonts you’re trying to use work in other apps? By the way, a shortcut for getting the font stuff right in Unity is to have the font selected first, then do Create Other/3DText. Then it will use the correct font and matching material automatically.

–Eric

Wierd… I did what you said about the selecting the font first and then creating a 3d text object and it worked perfectly. Thus proving it was a bug.(or im an idiot) Thanks for your help!

it’s not a bug, you just didn’t have your material assigned i think.