Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

TextMesh Pro Use other fonts in TextMesh Pro?

Discussion in 'UGUI & TextMesh Pro' started by greenmoon4, Apr 22, 2018.

  1. greenmoon4

    greenmoon4

    Joined:
    Apr 22, 2018
    Posts:
    9
    Hey,

    how can I use other fonts in TextMesh Pro? I got a font from google fonts, but how can I use it? (file ending is .ttf if its useful)

    Thanks!
     
    ShinModa and tubelightboy like this.
  2. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    On the Unity Menu, go to Window -> TexMesh Pro -> Font Asset creator, and select the font you want to convert.
     
  3. greenmoon4

    greenmoon4

    Joined:
    Apr 22, 2018
    Posts:
    9
    Yes, it worked! Thanks <3
     
    madkar3000 likes this.
  4. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,090
    I strongly suggest you take the time to watch the following videos which cover the important topic of Font Asset Creation as well as Working with Material Presets.

    There are also lots of additional videos covering almost every aspect of working with TextMesh Pro.
     
  5. SFDEV

    SFDEV

    Joined:
    Oct 28, 2020
    Posts:
    1
    thank you so much very helpful brother
     
  6. darshil12bharuhcha

    darshil12bharuhcha

    Joined:
    Dec 4, 2020
    Posts:
    4
    shortcut For Generating a a normal font to textmeshpro font is

    -select that font
    -and press control + shift + F12

    just suggesting :)
     
  7. albandaryhammamy

    albandaryhammamy

    Joined:
    Feb 8, 2021
    Posts:
    1
    Thx
     
  8. atulvi

    atulvi

    Joined:
    Oct 28, 2020
    Posts:
    27
    Step 01: Download Font
    -----------------------------------

    open the link https://fonts.google.com/ . Click right on corner Browse fonts click. and type the font in search box.
    Font List
    1. Noto Sans [find On Google fonts]
    2. Roboto [find On Google fonts] 3)
    3. Code2000 [But it's not open source.]
    4. Futura
    5. Arial
    Download Family for your favorite font.

    Step 02: Install TextMeshPro plugin
    -----------------------------------------------------
    from Package manager. After copy the font file NotoSans-Regular.ttf and paste to this directory. [Ex. Asset > TextMesh Pro > Resources > Fonts & Materials > paste NotoSans-Regular.ttf file]

    Step 03: Create SDF for font. if any one
    -----------------------------------------------------
    1. **Select NotoSans-Regular.ttf file** and create font asset SDF from menu bar Assets > Create > TextMeshPro > Font Asset OR
    2. Short Cut-> Shift + Ctrl + F12 OR
    3. **Select NotoSans-Regular.ttf file** and click mouse right button and create SDF from Create > TextMeshPro > Font Asset
    1.Currency.png

    Step 04: Add Other font SDF in to your primary or existing font SDF.
    ----------------------------------------------------------------------------------------------------------

    Select primary font SDF and show the inspector go to Fallback Font Assets. Added the NotoSans-Regular SDF in to Fallback list. [Multiple fonts added in to primary font SDF]
    GeneralCurrency.png
     
unityunity