Search Unity

TextMesh Pro Font markup does not work properly

Discussion in 'UGUI & TextMesh Pro' started by Micz84, Dec 21, 2018.

  1. Micz84

    Micz84

    Joined:
    Jul 21, 2012
    Posts:
    451
    I am using unity 2018.3.0f2 and TextMesh Pro 1.3.0 and I can't get fonts to work.

    When I use <font="test">Sample text</font> I get:
    upload_2018-12-21_11-2-37.png
    When assign font in inspector everything looks OK, so I think font asset is OK.
    Has something changed in using font markup?
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    The format of the font tag is as follows: <font="Name of font asset"> where this font asset must be located in a Resources folder at the location specified in the TMP Settings file.

    upload_2018-12-21_2-15-20.png
     
    Micz84 likes this.