<font FONT </font> not working - TMP support greyed out

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
RetroVertigo
Posts: 55
Joined: Fri Apr 16, 2021 4:32 pm

<font FONT </font> not working - TMP support greyed out

Post by RetroVertigo »

Hey guys
I am running into an issue with trying to change the font of a few text boxes in a dialogue chain. I tried adding this in

Code: Select all

<font="WINGDING SDF">Language disparity confirmed, processing new language</font>
but it does not change the dont over to the wingding one I imported. I looked at some posts and I saw that TMPro needs to be enabled, and that option is greyed out on mine.

Image

any ideas on what I could to fix this?

Thanks
User avatar
Tony Li
Posts: 22157
Joined: Thu Jul 18, 2013 1:27 pm

Re: <font FONT </font> not working - TMP support greyed out

Post by Tony Li »

Hi,

It's grayed out because it's already enabled. So you're good there.

TextMesh Pro's TMPSettings configuration file specifies where fonts must be -- by default, in a folder named Resources/Fonts & Materials/

If that doesn't help, are there any errors or warnings in the Console window?
RetroVertigo
Posts: 55
Joined: Fri Apr 16, 2021 4:32 pm

Re: <font FONT </font> not working - TMP support greyed out

Post by RetroVertigo »

Thanks for the reply Tony. I am not able to pull up the link you sent, but I moved my fonts folder into my Resource folder and still no luck. I don't have any errors that pull up on the console either

https://pasteboard.co/friBQaBuRpHX.png
User avatar
Tony Li
Posts: 22157
Joined: Thu Jul 18, 2013 1:27 pm

Re: <font FONT </font> not working - TMP support greyed out

Post by Tony Li »

The TMPro dev's site must be down right now. It's not working for me, either.

If you put that text directly into a new TextMeshProUGUI component's Text field, does it show correctly?

Are there any errors or warnings in the Console?

Should it be Wingdings with an 's'? As in:

Code: Select all

<font="Wingdings SDF">Language disparity confirmed</font>
(Also, make sure the filename matches exactly in spelling, case, and any punctuation.)
RetroVertigo
Posts: 55
Joined: Fri Apr 16, 2021 4:32 pm

Re: <font FONT </font> not working - TMP support greyed out

Post by RetroVertigo »

So, I double checked with a blank/new TMPro game object and I believe it is working as intended. I believe my problem is that when I try to use wingdings I am not able to actual have the font asset be created. It just creates blanks, so this looks to be a TMPro issue. Thanks for the help / guidance on figuring this out!
User avatar
Tony Li
Posts: 22157
Joined: Thu Jul 18, 2013 1:27 pm

Re: <font FONT </font> not working - TMP support greyed out

Post by Tony Li »

Happy to help. Good luck figuring it out! I'm sure TMPro can handle Wingdings; it's probably just a settings issue in the SDF.
Post Reply