How to get proper Japanese font rendering using English Locale under Windows

9,883

The problem can be in the applications you are using, choosing the wrong font because your locale is English, or it can be with Windows caching the wrong font.

A very old solution, which might still work, is to create a file named 火.txt (or similar if this is not Japanese, as I don't know either one) and save it to your desktop and then reboot. The logic here is that when Windows boots it will cache the right font.


Another old method is to change the system locale to Japanese and then back to English, without reboot, which probably works by invalidating the fonts cache.


A more modern solution is to trick applications into thinking that they were launched in Japanese locale. A utility which simplifies this is the free Locale Emulator.

Locale Emulator

Share:
9,883
Nicolas Goy
Author by

Nicolas Goy

Updated on September 18, 2022

Comments

  • Nicolas Goy
    Nicolas Goy almost 2 years

    Some applications are showing a strange behaviour when rendering Japanese fonts. The font used for kanji is a Chinese one and it looks really weird, especially at small sizes where it is not anti-aliased.

    If I set my display language to Japanese, logout and log back in, the problem is gone.

    The requested font (selected in the App UI), is Segoe UI. The actual fonts used for rendering are "MS Mincho" for hiragana and "SimSun" for kanji.

    I looked into the registry at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink

    And Segoe UI has correct entry:

    TAHOMA.TTF,Tahoma
    MEIRYO.TTC,Meiryo UI,128,96
    MEIRYO.TTC,Meiryo UI
    MSGOTHIC.TTC,MS UI Gothic
    MSJH.TTC,Microsoft JhengHei UI,128,96
    MSJH.TTC,Microsoft JhengHei UI
    MSYH.TTC,Microsoft YaHei UI,128,96
    MSYH.TTC,Microsoft YaHei UI
    MALGUN.TTF,Malgun Gothic,128,96
    MALGUN.TTF,Malgun Gothic
    MINGLIU.TTC,PMingLiU
    SIMSUN.TTC,SimSun
    GULIM.TTC,Gulim
    YUGOTHM.TTC,Yu Gothic UI,128,96
    YUGOTHM.TTC,Yu Gothic UI
    SEGUISYM.TTF,Segoe UI Symbol
    

    SimSun is listed, but MS UI Gothic and YaHei has those characters.

    Some references I checked:

    Bad rendering:

    result in note pad and emclient

    • Ignacio Vazquez-Abrams
      Ignacio Vazquez-Abrams over 6 years
      Uniscribe has no context for the text and so has no idea which font "should" be the correct one.
    • Nicolas Goy
      Nicolas Goy over 6 years
      The thing is, everything works fine using the japanese as windows displayed language, so there must be some settings affected.
  • Nicolas Goy
    Nicolas Goy over 6 years
    None of those solution changed anything. I was hopeful with the locale emulator one, as the issue is not with all applications, but it didn't work either.
  • harrymc
    harrymc over 6 years
    Here are two more : Ntlea and thcrap. It seems like many people had this same problem.
  • Nicolas Goy
    Nicolas Goy over 6 years
    Actually I am an idiot, the locale emulator solution works, but the app I was testing it with had a background process. Once that background process killed and the app restarted with locale emulator, it works.
  • harrymc
    harrymc over 6 years
    I'm glad this worked for you.