Search Unity

TextMesh Pro Can Text Mesh Pro do non-rectangular containers?

Discussion in 'UGUI & TextMesh Pro' started by Democide, Jul 9, 2019.

  1. Democide

    Democide

    Joined:
    Jan 29, 2013
    Posts:
    315
    I am using text mesh pro for text on game cards, but the text background has a slight bevel in the lower-right corner. In a few rare cases the text clips out there because the box overlaps with the beveled corner.

    I was wondering if there is a solution for this?

    In this example, the purple is the background, the light-white box is the border of the TextMeshPro, and the text clips out of the background. Ideally the shape for the text box would follow the bevel here.

    text-issue.png
     
    DVelt likes this.
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    No at this time. There was some code tweaks that I am not sure still work that could do this.

    Alternatively, you could use the link text feature in the Overflow modes which would flow the text through multiple text objects.