Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

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

Discussion in 'Unity UI & 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

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    1,786
    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. sorencoder

    sorencoder

    Joined:
    Mar 27, 2017
    Posts:
    44
    Try this plugin:
    https://github.com/sorencoder/RTLTMPro