Search Unity

[BUG] Asian fonts don't work correctly since version 2.1.0

Discussion in 'UGUI & TextMesh Pro' started by unity_DFMWi06HtDRhnQ, Jan 22, 2021.

  1. unity_DFMWi06HtDRhnQ

    unity_DFMWi06HtDRhnQ

    Joined:
    Feb 12, 2020
    Posts:
    2
    I use "line-height" tag
    This is how the asian text looks on version 2.1.3 (2.1.0 and 2.1.1)



    If there is enough space, then there is no bug


    This is how the text correctly looks on version 2.0.1


    I have "horizontal layout group" in Hierarchy and "TextMeshPro - Text (UI)" script. Unity version is 2019.3.0f6
     

    Attached Files:

    Last edited: Jan 22, 2021
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    By issue you mean the following section of the text. Correct?

    upload_2021-1-22_12-58-7.png

    Can you provide me with a project / scene to test this out?
     
  3. unity_DFMWi06HtDRhnQ

    unity_DFMWi06HtDRhnQ

    Joined:
    Feb 12, 2020
    Posts:
    2
    Yep, I'm talking about stuck text.
    I created a public project with the bug. You need to press play and text will change.
    https://github.com/Smirnov-Mikhail/UnityDummyProject
    If you change the version of TMP to 2.0.1, then the bug will disappear.
     
  4. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Thank you for providing the project for me to look at.

    I was able to take a closer look today and was able to resolve the issue. I will need to do some additional testing but this will be resolved in the next release which will be version 2.1.4 for Unity 2019.4 which I will try to release this week.

    Screenshot of the text post fix
    upload_2021-1-25_14-15-12.png
     
    Last edited: Jan 25, 2021
  5. revelatiosgn

    revelatiosgn

    Joined:
    Mar 28, 2020
    Posts:
    2
    Still have bug in 2.1.6
    upload_2022-1-18_15-39-45.png