Search Unity

Support for languages with different kind of letters(like persian)

Discussion in 'UGUI & TextMesh Pro' started by saeedproxima, Jun 3, 2018.

  1. saeedproxima

    saeedproxima

    Joined:
    Dec 13, 2014
    Posts:
    1
    Hello,
    I have a question about this tool supporting right-to-left languages with characters that have different presentation when they in a different part of the word like Persian or Arabic.
    I have a font file that has all the characters for that and I have created a font asset with the unicode ranges of those characters but still text mesh pro shows the word messed up.
    upload_2018-6-3_11-35-25.png

    In this picture the one above is from the Text mesh pro and the below is the plugin made with someone:
    https://github.com/ElectroGryphon/EGGA/tree/master/UPersian
    and both words are written by the same font file.
    Is there a way to bring support for this kind of languages too?
    ps. the characters are in the unicode range.
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,596
    See the following thread and related links.

    This solution is temporary as OpenType Font Feature support which is essential for RTL and most non Latin based languages. OpenType Font Feature support is one of the key major new features planned for the new text system which will eventually replace TextMesh Pro.
     
    karl_jones and Stewie88 like this.
  3. Deleted User

    Deleted User

    Guest

    Try this plugin:
    https://github.com/sorencoder/RTLTMPro