Skip to content

Commit b633668

Browse files
committed
Adjust the Japanese font-family settings:
Remove Japanese names as much as possible. Since MS fonts do not have anti-aliasing, try adjusting them to use BIZ UD Fonts, which are currently considered easy to read in Japanese Windows environments.
1 parent 9ad046c commit b633668

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

css/src/modules/ReadiumCSS-base.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,17 @@ math {
117117
}
118118

119119
:lang(ja) {
120-
--RS__baseFontFamily: "游ゴシック体", YuGothic, "ヒラギノ丸ゴ", "Hiragino Sans", "Yu Gothic UI", "Meiryo UI", "MS Gothic", Roboto, Noto, "Noto Sans CJK JP", sans-serif;
120+
--RS__baseFontFamily: YuGothic, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo UI", "MS Gothic", Roboto, Noto, "Noto Sans CJK JP", sans-serif;
121121

122122
/* For CJK, the line-height is usually 15–20% more than for Latin */
123123
--RS__lineHeightCompensation: 1.167;
124124

125125
/* Extra variables for Japanese font-stacks as we may want to reuse them for user settings + default */
126-
--RS__serif-ja: "MS P明朝", "MS PMincho", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "游明朝", "YuMincho", "MS 明朝", "MS Mincho", "Hiragino Mincho ProN", serif;
127-
--RS__sans-serif-ja: "MS Pゴシック", "MS PGothic", "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Hiragino Sans GB", "ヒラギノ角ゴシック W3", "游ゴシック", "YuGothic", "MS ゴシック", "MS Gothic", "Hiragino Sans", sans-serif;
128-
--RS__serif-ja-v: "MS 明朝", "MS Mincho", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "游明朝", "YuMincho", "MS P明朝", "MS PMincho", "Hiragino Mincho ProN", serif;
129-
--RS__sans-serif-ja-v: "MS ゴシック", "MS Gothic", "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Hiragino Sans GB", "ヒラギノ角ゴシック W3", "游ゴシック", "YuGothic", "MS Pゴシック", "MS PGothic", "Hiragino Sans", sans-serif;
126+
/* BIZ UD fonts will work on Windows. If you set half-width (ASCII) characters to `upright` using `text-orientation`, the width of these characters remains narrow. In this case, specify `font-variant-east-asian: full-width;` as well. */
127+
--RS__serif-ja: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "BIZ UDPMincho", "Yu Mincho", "MS P明朝", "MS PMincho", serif;
128+
--RS__sans-serif-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ W3", "YuGothic", "BIZ UDPGothic", "Yu Gothic", "MS Pゴシック", "MS PGothic", sans-serif;
129+
--RS__serif-ja-v: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "BIZ UDPMincho", "Yu Mincho", "MS明朝", "MS Mincho", serif;
130+
--RS__sans-serif-ja-v: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ W3", "YuGothic", "BIZ UDGothic", "Yu Gothic", "MSゴシック", "MS Gothic", sans-serif;
130131
}
131132

132133
:lang(km) {

0 commit comments

Comments
 (0)