@@ -129,22 +129,21 @@ mycdark:
129129 確実にフォントを統一するためにRoundedM+を指定することにした
130130 以前NotoSansJPを指定していたが、xterm.jsで全角の()の幅がバグった
131131 */
132- --font-mono :
133- "Inconsolata Variable" , "Rounded M+ 1c" , "Rounded M+ 1p" ,
134- "M PLUS Rounded 1c" , monospace;
132+ --font-mono : "Inconsolata Variable" , "M PLUS Rounded 1c NoHint" , monospace;
135133 /*
136134 本家のフォント名は Rounded M+ 1c 、または1pでもいいかも
137- layout.tsxでインポートしているwebフォントが M PLUS Rounded 1c
135+ layout.tsxでインポートしているwebフォントが M PLUS Rounded 1c NoHint
136+ scripts/removeHinting.ts で M PLUS Rounded 1c からHintingを除去したものを使っている
137+ (HintingがあるとWindowsでジャギーが発生する)
138138
139139 それ以下はM+をダウンロードするまでの間表示されるswap用フォールバックとしてM+に見た目が近いものを指定。
140140 Hiragino Maru Gothic は見た目はめっちゃきれいなんだけど太字がない :cry:
141- Meiryo は日本語の形がM+に近いが、英数がダメ
142141 */
143142 --font-sans :
144- "Rounded M+ 1c" , " Rounded M+ 1p ", "M PLUS Rounded 1c",
145- /* 以下fallback */ "M+ 1c" , "MigMix 1c" , "Migu 1c" ,
146- "Hiragino Maru Gothic ProN" , "Noto Sans " , "Arial " , "Liberation Sans " ,
147- "Meiryo" , sans-serif,
143+ "M PLUS Rounded 1c NoHint " , /* 以下fallback */ " Rounded M+ 1c",
144+ "Rounded M+ 1p" , "M+ 1c" , "MigMix 1c" , "Migu 1c" ,
145+ "Hiragino Maru Gothic ProN" , "Segoe UI " , "Noto Sans " , "Arial " ,
146+ "Liberation Sans" , "BIZ UDゴシック" , " Meiryo", sans-serif,
148147 /* TailwindCSSでデフォルトで指定されていた絵文字フォントは一応残しておく */
149148 "Apple Color Emoji" ,
150149 "Segoe UI Emoji" , "Segoe UI Symbol" , "Noto Color Emoji" ;
0 commit comments