Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Russian Characters not Imported

Discussion in 'UGUI & TextMesh Pro' started by ReGaSLZR, Oct 5, 2021.

  1. ReGaSLZR

    ReGaSLZR

    Joined:
    Jun 11, 2015
    Posts:
    12
    Hi there!

    I'm using Unity 2020.3.12.f1 and TextMeshPro 3.0.6.

    I have two fonts: Grenze and IBM Plex Sans. Both of which I am trying to include not only the basic English alphabet and special characters, but also:
    • the special characters from French, German, and Spanish languages, and
    • the Russian alphabet.

    I applied the same Font Asset Creator settings and same custom character list on both fonts:
    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ           ‌‍‎‏‒–—―‖‗‘’‚‛“”„‟†‡•…‪‫‬‭‮ ‰′″‴‹›‼‾⁄⁞€™□ẞŒœАаБбВвГгДдЕеЁёЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЪъЫыЬьЭэЮюЯя

    And as you see in this screenshot, IBM Plex Sans is now able to display every character on the above list.
    But Grenze, on the other hand, is missing most of the Russian alphabet.

    upload_2021-10-5_18-0-21.png

    I literally applied the same settings on both IBM Plex Sans and Grenze.
    Same values for Sampling Font Size, Padding, Atlas Resolution, Custom Character List, and even the Font Asset (which is the Liberation Sans).

    How come everything works in IBM Plex Sans and not on Grenze?

    upload_2021-10-5_18-3-7.png

    P.S. I tried to change some settings (like Atlas Resolution and Point Size) on the Font Asset Creator for Grenze but didn't get any improvements.

    I could just use a Fallback asset for Russian characters for Grenze but I want to know if I did something wrong on Grenze's set up.

    Please help, @Stephan_B
     
  2. Lukas-Labaj

    Lukas-Labaj

    Joined:
    Nov 22, 2012
    Posts:
    36
  3. jonathan_h

    jonathan_h

    Unity Technologies

    Joined:
    Jul 29, 2021
    Posts:
    18
    Hi,

    The Grenze font does not support Cyrillic which is why those characters are shown as missing.

    You can verify the above by typing Cyrillic characters in the "Type here to preview text" window for this font on Google Fonts.
     
    Last edited by a moderator: Oct 5, 2021
  4. ReGaSLZR

    ReGaSLZR

    Joined:
    Jun 11, 2015
    Posts:
    12
    I see. Thank you for the responses, @Lukas-Labaj and @jonathan_h !

    I thought that if you added the characters in the Custom Character List text box, it would be included in the font already (as it did with IBM Plex Sans). Turns out, my understanding is wrong and you still have to check if the characters you want to add are supported by the base font ttf / otf in the first place.

    Thank you for the clarification! I guess the only solution for my team right now is to use a Fallback font specifically for Grenze's failure to cover Russian characters.