Skip to content

Commit

Permalink
Merge pull request #170 from chhsiao1981/font-family-2
Browse files Browse the repository at this point in the history
use symmingliu and monospace
  • Loading branch information
chhsiao1981 authored Dec 29, 2023
2 parents 451d1be + 77f5149 commit 1dadf41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 1dadf41

Please sign in to comment.