Skip to content

Instantly share code, notes, and snippets.

@AntonFriberg
Last active August 3, 2024 22:00
Show Gist options
  • Save AntonFriberg/9e67269639b5ba3b2020c2396eb35216 to your computer and use it in GitHub Desktop.
Save AntonFriberg/9e67269639b5ba3b2020c2396eb35216 to your computer and use it in GitHub Desktop.
Asian Characters ArchLinux

In order to get Asian Characters to render properly on ArchLinux you need to install a font which supports them. Even if you cannot read any of the characters I find it useful to have them installed to get wikipedia articles on geographical locations to render properly.

In order to cover most of Asia I installed the following fonts:

  • adobe-source-han-serif-cn-fonts
  • adobe-source-han-serif-jp-fonts
  • adobe-source-han-serif-kr-fonts
  • adobe-source-han-serif-otc-fonts
  • adobe-source-han-serif-tw-fonts
sudo pacman -S adobe-source-han-serif-cn-fonts adobe-source-han-serif-jp-fonts adobe-source-han-serif-kr-fonts adobe-source-han-serif-otc-fonts adobe-source-han-serif-tw-fonts

Do note that this only includes the serif variant of the fonts. But that is enough for me.

To test the fonts simply restart your browser after installing the mentioned fonts and go to this site: https://en.wikipedia.org/wiki/Help:Multilingual_support_(East_Asian)

@johncave
Copy link

To install the sans-serif fonts instead:

sudo pacman -S adobe-source-han-sans-cn-fonts adobe-source-han-sans-jp-fonts adobe-source-han-sans-kr-fonts adobe-source-han-sans-otc-fonts adobe-source-han-sans-tw-fonts

Installing both:

sudo pacman -S adobe-source-han-sans-cn-fonts adobe-source-han-sans-jp-fonts adobe-source-han-sans-kr-fonts adobe-source-han-sans-otc-fonts adobe-source-han-sans-tw-fonts adobe-source-han-serif-cn-fonts adobe-source-han-serif-jp-fonts adobe-source-han-serif-kr-fonts adobe-source-han-serif-otc-fonts adobe-source-han-serif-tw-fonts

@kayzzen01
Copy link

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment