Search Unity

TextMesh Pro Strange goings-on

Discussion in 'UGUI & TextMesh Pro' started by andymads, Feb 19, 2021.

  1. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    I'm using 2.1.4 on Unity 2019.4.16.

    I'm not able to post my Russian text as the forum doesn't like it.

    Screenshot 2021-02-19 at 12.48.31.png

    Screenshot 2021-02-19 at 12.52.37.png

    I have a stretched Text element with Font Size set to 100. Alignment is horizontally left and vertically centre. The Font Asset is the default LiberationSans SDF.

    The Russian text is being broken up into multiple lines.

    Screenshot 2021-02-19 at 12.38.08.png

    If I select Auto Size the font size becomes the minimum of 18.

    Screenshot 2021-02-19 at 12.44.12.png


    If I disable Auto Size and align centrally horizontally I lose characters.

    Screenshot 2021-02-19 at 12.44.44.png

    Why are these things happening?
     
  2. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    Also having an issue where characters are being drawn over each other.

    Screenshot 2021-02-19 at 16.47.52.png

    Screenshot 2021-02-19 at 16.51.06.png

    This comes out as 2 lines when I paste it somewhere. I think the problem is to do with the invisible character after 6 characters.
     
  3. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Can you copy / paste the text in a .txt file and then post that file? I suspect perhaps some hidden control characters in the text.