Search Unity

Issue with TextMeshPro with fallback and ScrollRect

Discussion in 'UGUI & TextMesh Pro' started by giorgos_gs, Jan 25, 2022.

  1. giorgos_gs

    giorgos_gs

    Joined:
    Apr 23, 2014
    Posts:
    623
    Hi,

    I use the latest TextMeshPro 3.0.6 with Unity 2021.2.5f1
    I use a static SDF font that has many chars and I use a dynamic SDF for the fallback in case it doesnt find any chars.
    It works ok when I have a simple non moving text box. See image textno.png
    But when I have this text box inside a ScollRect the fallback characters are not alligned with the normal font characters. They go way more down. See text.png

    I am struggling with this bug 2 days now.
    A fast workaround will be perfect.

    thanks
     

    Attached Files: