Search Unity

Unity UI Custom font properties - what do they do?

Discussion in 'UGUI & TextMesh Pro' started by Ghant, Sep 26, 2019.

  1. Ghant

    Ghant

    Joined:
    Aug 22, 2019
    Posts:
    8
    fontprops.png
    Some of them I've figure out, others are a mystery:
    • Line Spacing - space (in pixels) between lines of text - fine
    • Tracking - seems to be the space added after a character, but as a percentage of its width, which doesn't make it all that useful to me, since the space after an "I" will be minimal while the space after a "W" will be huge, making the line look weird
    • Character Spacing - no idea what this does, since it seems to have no effect, regardless of what number I put in here
    • Character Padding - not really sure what this does either, when it is set to 1 or higher, my font looks correct ( yes.png ), when it is set to 0, the font looks out of proportion ( no.png )
    • Convert Case - lowercase translated to uppercase characters - fine
    • Font Rendering Mode - no idea what this is used for either
    Anyone fully understand these properties? I can't seem to find any good documentation.
     
    tarkhon and T3hHappyEmo like this.