Search Unity

TextMesh Pro TMP_Textinfo Page Count Issues in version 2.0.1

Discussion in 'UGUI & TextMesh Pro' started by moldywarpe, Jul 15, 2019.

  1. moldywarpe

    moldywarpe

    Joined:
    Jan 18, 2017
    Posts:
    31
    Stephan,
    I am getting differing page count statistics in TextMeshPro_UGUI text when running version 2.0.1 under Unity 2019 compared with Release 1.0.55.52.0b8 under Unity 2017.
    The text is the same however the page count for the page overflow text differs.
    The text contains sprites with rich text sizes and on my initial comparison looks like it may have something to do with the check for Vertical Bounds (gets called twice in the old version which increments m_pagecount, but only once in the later version).
    I would like to try and isolate the exact cause ... or provide you a repro... so does version 2.0.1 contain a TMP_TextInfoDebugTool class that I can add to the TextMeshPro text which would make the repro I provide a lot simpler?
     
  2. moldywarpe

    moldywarpe

    Joined:
    Jan 18, 2017
    Posts:
    31
    Ok, this is not an issue:rolleyes:
    My problem was to do with a missing glyph being replaced with the Square (9633) whose size was smaller than the glyph being replaced...