protonscr

Chinese/Japanese characters not rendering properly in chat

steamclosed Steam clientDistro Family: Arch
ValveSoftware/steam-for-linux#5005 · opened 2017-06-03 by guihkx · updated 2021-07-21 · 3 comments · github
Gguihkx 2017-06-03 github

Your system information

  • Steam client version (build number or date): Jun 1 2017, at 18:41:15 (Steam API v017)
  • Distribution (e.g. Ubuntu): Arch Linux x64
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

  • I have disabled embedded bitmap;

  • I have Arial installed, from ttf-ms-win10;

  • Output of fc-match -v Arial;

  • I have tried installing wqy-zenhei fonts, but it had no effect;

  • I'm not using any patched version of fontconfig.

  • Font renders just fine anywhere else but in Steam Friends/Chat window:

Previews:

screenshot_2017-06-03_18-14-37

screenshot_2017-06-03_18-21-47

screenshot_2017-06-03_18-24-14

Kkisak-valve maintainer 2017-06-03 github

Hello @GUiHKX, there may be some helpful hints in #1889.

Gguihkx 2017-06-03 github

Thank you! I've tried some of those suggestions. None of them really worked, but some of them helped me reach a solution. If you installed ttf-ms-win10 like I did, try the following steps to fix the rendering issue:

  1. Remove all international fonts used by ttf-ms-win10 (don't worry, this will not remove the main fonts in the package):
sudo pacman -Rs ttf-ms-win10-{japanese,korean,other,sea,thai,zh_cn,zh_tw}
  1. Install wqy-zenhei, which contains chinese/japanese characters (see here for some other fonts suggestions):
sudo pacman -S wqy-zenhei
  1. Restart Steam. That's it!

I don't have any knowledge about fonts, but this comment makes a lot of sense regarding the embedded bitmap thing, even though it doesn't provide an actual solution.

Anyway, I'm closing this.

DDirect-A 2021-07-21 github

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/5005#issuecomment-306006268.

Thanks, I’ve finally soloved it, it just caused by ms-fonts(any fonts from win).