Search Unity

  1. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  2. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  3. If you couldn't join the live stream, take a peek at what you missed.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. 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,286
    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:
    23
    Try this plugin:
    https://github.com/sorencoder/RTLTMPro