Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Japanese font doesnot appear

Discussion in 'PSM' started by Stranger-Games, Sep 14, 2014.

  1. Stranger-Games

    Stranger-Games

    Joined:
    May 10, 2014
    Posts:
    393
    Hello,

    I have a game that uses AlphaMaleModern font. It works perfectly on PC and MAC, but the japanese font text does not appear on PS Vita device.
    The PS Vita is not bought from Japan, but my PSM developer account, PS network account is japanese.
    In unity import settings I use 'Dynamic' character and 'Incl. Font Data'.

    Any help is greatly appreciated, thanks for advance.
     
  2. Stranger-Games

    Stranger-Games

    Joined:
    May 10, 2014
    Posts:
    393
    Update:
    I made a very simple scene to illustrate the problem.

    This is the scene inside the editor.
    japanese bug.jpg


    This is the scene on PS Vita.
    2014-09-14-172632.jpg


    Any help is greatly appreciated.
     
  3. Stranger-Games

    Stranger-Games

    Joined:
    May 10, 2014
    Posts:
    393
    When I used the font 'ipagp' that comes with the sample PSM IAP and it worked!
     
  4. eriQue

    eriQue

    Unity Technologies

    Joined:
    May 25, 2010
    Posts:
    595
    Most likely your AlphaMaleModern font does not include Japanese glyphs.
    The only reason why it works in the editor is because it can fallback to some other Japanese font already installed on your system.
    On the PS Vita this is not the case - the only fallback that exists is the default Arial font, which doesn't include Japanese.

    The only way to solve this is to use a font that really do include the Japanese glyphs - such as the ipagp in the PSM IAP sample.
     
  5. Stranger-Games

    Stranger-Games

    Joined:
    May 10, 2014
    Posts:
    393
    eriQue, Thank you very much for your reply, I really appreciate it.
    It should have been obvious to me, but for some reason I could not figure it out.
     
  6. unitree

    unitree

    Joined:
    May 3, 2013
    Posts:
    5
    I can't get the Japanese characters to show in Unity or on Vita using the IPAGP font, here are my settings:

    This the text in Unity/Vita:
     
  7. PeteD

    PeteD

    Joined:
    Jul 30, 2013
    Posts:
    71
    How are you referencing the characters as I thought this font was unicode and not utf8?
     
  8. unitree

    unitree

    Joined:
    May 3, 2013
    Posts:
    5
    I'm not sure what you mean, the U in UTF stands for Unicode. I tried all the options in the font like Dynamic and Unicode.

    When I play in the editor, those characters from the screenshot appear in the Font Texture for ipagp. The script is in C# and I tried saving it in UTF8 and UTF16.,
     
  9. PeterD

    PeterD

    Joined:
    Feb 6, 2013
    Posts:
    120
    Sorry I meant UTF16 not UTF8 for some reason I never count UTF8 as Unicode.

    Incidentally the U stands for Universal :)