Search Unity

Bug Glyph adjustment table isn't imported from .ttf file - TMPro

Discussion in 'UGUI & TextMesh Pro' started by programer786, Nov 4, 2021.

  1. programer786

    programer786

    Joined:
    Aug 6, 2015
    Posts:
    7
    Hello,

    In some languages, it is necessary that some characters (especially diacritics) get moved to different heights depending on which letter they are connected to.

    I tried to use TextMesh Pro to display some Arabic text with diacritics but the diacritics (called "tashkeel" in Arabic) overlap with letters because they aren't shifted to the correct height depending on the letter that they are assigned to.

    I asked the developers of the RTL TMPro plugin for help and they told me that this is an issue related to TextMesh Pro, as it isn't importing the Glyph Adjustment Table from the .ttf file when I use the Text Mesh Pro Font Asset Creator. This is the issue report on github for complete information: https://github.com/pnarimani/RTLTMPro/issues/79

    Is there a way to import the glyph placement adjustments from the font file please?