remove google fonts

This commit is contained in:
Zhi Wang 2022-01-12 18:22:00 -05:00
parent e9f0ca2efe
commit f765f903c9
3 changed files with 5 additions and 5 deletions

View File

@ -46,9 +46,9 @@ window (xterm.js) and create a websocket with the server, which relays the data
The program has been tested on Linux, WSL2, Raspberry Pi 3B (Debian), and MacOSX using Google Chrome, Firefox, and Safari. The program has been tested on Linux, WSL2, Raspberry Pi 3B (Debian), and MacOSX using Google Chrome, Firefox, and Safari.
## Known issue <!-- ## Known issue
WiTTY might have some display/encoding issues on macOS with Firefox, especially for zsh. Safari works fine though. WiTTY might have some display/encoding issues on macOS with Firefox, especially for zsh. Safari works fine though. -->
## An Screencast <sub>featuring an older version of WiTTY</sub> ## An Screencast <sub>featuring an older version of WiTTY</sub>

View File

@ -24,7 +24,7 @@ function createTerminal(path) {
}; };
const term = new Terminal({ const term = new Terminal({
fontFamily: `'Fira Code', monospace`, fontFamily: `ui-monospace,SFMono-Regular,'SF Mono',Menlo,Consolas,'Liberation Mono',monospace`,
fontSize: 12, fontSize: 12,
theme: baseTheme, theme: baseTheme,
convertEol: true, convertEol: true,

View File

@ -4,9 +4,9 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="preconnect" href="https://fonts.googleapis.com"> <!-- <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans&display=swap" rel="stylesheet"> -->
<script src="/assets/external/xterm.js"></script> <script src="/assets/external/xterm.js"></script>
<script src="/assets/external/xterm-addon-attach.js"></script> <script src="/assets/external/xterm-addon-attach.js"></script>