Search Unity

TextMesh Pro Strange Letter Spacing With Pixel Art Fonts

Discussion in 'UGUI & TextMesh Pro' started by armorgamesdot, Jun 12, 2022.

  1. armorgamesdot

    armorgamesdot

    Joined:
    Aug 19, 2019
    Posts:
    1
    Versions: Unity 2019.4.33f1 | TextMesh Pro 2.6.1

    I've been working with Unity and TextMesh Pro for a while and everything has been working smoothly. However, I have recently made a variety of pixel art fonts (6, 8, 9, 10, 12, 13, 15px) so I can have a good amount of flexibility when designing UI (using https://www.pentacom.jp/pentacom/bitfontmaker2/#). Most of them look fine and are pixel perfect. However, the 6px, 9px, and 15px fonts are not perfectly aligned to the pixel grid.

    In game:
    Font_Book_Top.png Font_Book_Bottom.png

    Default Text Component vs TMP Text Component:
    Default_Vs_TMP.png

    I have tried a lot of things in an attempt to fix this issue, but none have worked. I've tried rebuilding the fonts, changing the settings the the Font Asset Creator, changing the import settings; all to no effect. This has really put a damper on my workflow because some of the buggy font sizes are the only sizes that would look good where I need them. Any help or advice would be appreciated.

    Thanks
     
  2. schriftartenio

    schriftartenio

    Joined:
    May 3, 2023
    Posts:
    1
    Last edited: May 9, 2023