Skip to content

Commit 1c014d3

Browse files
committed
meiryoも一応追加
1 parent e95bb44 commit 1c014d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/globals.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ mycdark:
128128
あまり変なフォントが選ばれるとxtermやaceエディターの表示が崩れる可能性があるので、
129129
確実にフォントを統一するために本文と同じフォントを指定することにした
130130
以前NotoSansJPを指定していたが、xterm.jsで全角の()の幅がバグった
131-
BIZUDゴシックは全角の”’の幅がおかしいが、まあ使うことないやろ
131+
BIZUDゴシックとMeiryoは全角の”’の幅がおかしいが、まあ使うことないやろ
132132
*/
133133
--font-mono:
134-
"Inconsolata Variable", "BIZ UDゴシック", "Rounded M+ 1c", "Rounded M+ 1p",
135-
"M PLUS Rounded 1c", monospace;
134+
"Inconsolata Variable", "BIZ UDゴシック", "Meiryo", "Rounded M+ 1c",
135+
"Rounded M+ 1p", "M PLUS Rounded 1c", monospace;
136136
/*
137137
本家のフォント名は Rounded M+ 1c 、または1pでもいいかも
138138
layout.tsxでインポートしているwebフォントが M PLUS Rounded 1c
@@ -144,7 +144,7 @@ mycdark:
144144
Hiragino Maru Gothic は見た目はめっちゃきれいなんだけど太字がない :cry:
145145
*/
146146
--font-sans:
147-
"Segoe UI", "BIZ UDゴシック", "Rounded M+ 1c", "Rounded M+ 1p",
147+
"Segoe UI", "BIZ UDゴシック", "Meiryo", "Rounded M+ 1c", "Rounded M+ 1p",
148148
"M PLUS Rounded 1c", /* 以下fallback */ "M+ 1c", "MigMix 1c", "Migu 1c",
149149
"Hiragino Maru Gothic ProN", "Noto Sans", "Arial", "Liberation Sans",
150150
sans-serif,

app/terminal/terminal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function useTerminal(props: TerminalProps) {
134134
lineHeight: 1.2,
135135
letterSpacing: 0,
136136
fontFamily:
137-
"'Inconsolata Variable', 'BIZ UDゴシック', 'Rounded M+ 1c', 'Rounded M+ 1p', 'M PLUS Rounded 1c', monospace",
137+
"'Inconsolata Variable', 'BIZ UDゴシック', 'Meiryo', 'Rounded M+ 1c', 'Rounded M+ 1p', 'M PLUS Rounded 1c', monospace",
138138
theme: computeTerminalTheme(),
139139
});
140140
terminalInstanceRef.current = term;

0 commit comments

Comments
 (0)