Display of Japanese kanji

The utf-8 code points for East Asian languages Japanese, Chinese (Traditional), and Chinese (Simplified) are the same for many characters (including kanji characters in Japanese), even though the character glyphs in the three languages may be substantially different. I’m creating Logseq pages for a Japanese language learning project and finding that kanji are displayed only using the Chinese (Simplified) glyphs, which is confusing or misleading in some cases. n00b here: I’m trying to specify that characters should be displayed using the Japanese glyphs by means of CSS in custom.css; my best guess is that one of the following should work:

* { font-variant-east-asian: jis90; }

based on this, or

* { font-variant: japanese-formal }

based on my nosing around in developer mode. Neither of these works: “置” still has the Chinese-Simplified appearance (even though I see the kanji character here).

What am I failing to do correctly?

Try this as well

body{
font-variant-east-asian: jis04;
font-variant: japanese-formal;
}

If install Japanese font (here Noto Sans Japanese - Google Fonts)

body {
    font-family: "Noto Sans JP"!important;
}
1 Like

Curiously, just adding

body {
    font-family: "Noto Sans JP"!important;
}

rendered the kanji correctly, but changed all non-JP text to serif font. Specifying a font family of “Noto Sans CJK JP” instead gave me the result I wanted. All my non-JP text was changed to Noto Sans, but I’m perfectly happy with that.

Thanks for putting me on the right track!

1 Like