Page 1 of 1

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

Posted: Sun Nov 28, 2021 7:09 am
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

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

Posted: Sun Nov 28, 2021 8:26 am
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?

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

Posted: Sun Nov 28, 2021 10:02 pm
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

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

Posted: Sun Nov 28, 2021 10:47 pm
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.)

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

Posted: Mon Nov 29, 2021 12:19 pm
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!

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

Posted: Mon Nov 29, 2021 12:30 pm
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.