Skip to content

Instantly share code, notes, and snippets.

@vanquang9387
Created March 16, 2017 01:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save vanquang9387/12b7894223e73288414119c84027fb9b to your computer and use it in GitHub Desktop.
Save vanquang9387/12b7894223e73288414119c84027fb9b to your computer and use it in GitHub Desktop.
Japanese default css font family

Most Japanese websites use default font sets provided on Windows or Mac. The latest ones are Meiryo and Hiragino Kaku Gothic Pro. For older versions such like Windows XP, it is good to add former default fonts MS Gothic(or MS Mincho)/Osaka.

Some old browsers could not understand those font names in English, some others do not recognize the names in Japanese, so it is safe to write both in Japanese and English.

Meiryo and Hiragino's order is, because Mac users may have Meiryo from MS-Office, and Hiragino is more familiar and matching well on Mac, better by starting Hiragino series.

So the current recommended practice is like this,

font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;

Source: http://stackoverflow.com/a/14573813/4335961

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