Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Digit "1" width is considerably less then other digits. How to edit it ? or fix the unwanted spacing

Discussion in 'UGUI & TextMesh Pro' started by Brother_77, Feb 2, 2023.

  1. Brother_77

    Brother_77

    Joined:
    Feb 8, 2019
    Posts:
    167
    I have text rows of (String + digits + String) that are then sorted in columns and all have same Rect Transform and same settings text wise.

    But whenever digit "1" is used it messes the column structure and changes the spacings between the characters.

    Is there a way to make 1 take as much space as 0...9

    Thank you for your time!
     
  2. jasonboukheir3

    jasonboukheir3

    Joined:
    Apr 13, 2022
    Posts:
    81
    Brother_77 likes this.
  3. Brother_77

    Brother_77

    Joined:
    Feb 8, 2019
    Posts:
    167
    jasonboukheir3 likes this.
  4. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    1,533
    This is the issue with TONS of sloppy fonts. You see it all the time when TV stations show the time. Ever since the dawn of lead type, all digits should have equal width, customarily an en-width, so that columns of numbers all line up properly in ledgers. Find another font that cares about readability.