diff --git a/src/assets/symmingliu.aaa394dd81dbe129da06687a75bfe002.woff b/src/assets/symmingliu.aaa394dd81dbe129da06687a75bfe002.woff new file mode 100644 index 0000000..2c1611f Binary files /dev/null and b/src/assets/symmingliu.aaa394dd81dbe129da06687a75bfe002.woff differ diff --git a/src/components/utils.ts b/src/components/utils.ts index c6f9738..4e9fa2e 100644 --- a/src/components/utils.ts +++ b/src/components/utils.ts @@ -10,7 +10,7 @@ export const CHAR_WIDTH = 10 export const SCREEN_WIDTH = 90 export const EDIT_SCREEN_WIDTH = 80 -const MAX_SCALE = 1.2 +const MAX_SCALE = 1.5 const DEFAULT_CHAR_WIDTH = 10 const DEFAULT_SCREEN_WIDTH = 90 diff --git a/src/index.css b/src/index.css index d951d2f..3527945 100644 --- a/src/index.css +++ b/src/index.css @@ -1,8 +1,12 @@ @import url(//fonts.googleapis.com/css?family=Inconsolata); +@font-face { + font-family: SymMingLiu; + src: url(assets/symmingliu.aaa394dd81dbe129da06687a75bfe002.woff) format("woff") +} body { margin: 0; - font-family: "細明體", "AR PL UMing TW", "Inconsolata", "LiSongPro", "BiauKaiTC", Menlo, Monaco, Consolas, "Inconsolata", monospace; + font-family: "MingLiu", "SymMingLiu", monospace; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;