Skip to content

Commit 9515683

Browse files
author
xylight
authored
subset terminus fonts (#208)
1 parent c82ac37 commit 9515683

6 files changed

Lines changed: 3 additions & 3 deletions

File tree

public/fonts/terminus-bold.ttf

-489 KB
Binary file not shown.

public/fonts/terminus-bold.woff2

9.05 KB
Binary file not shown.

public/fonts/terminus.ttf

-489 KB
Binary file not shown.

public/fonts/terminus.woff2

9.04 KB
Binary file not shown.

src/layouts/Page.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ const { title, path = "~/" + title.toLowerCase().replaceAll(" ", "-") + ".md" }
2323
<meta name="viewport" content="width=device-width, initial-scale=1" />
2424
<link
2525
rel="preload"
26-
href="/fonts/terminus.ttf"
26+
href="/fonts/terminus.woff2"
2727
as="font"
28-
type="font/ttf"
28+
type="font/woff2"
2929
crossorigin
3030
/>
3131
<meta http-equiv="X-UA-Compatible" content="ie=edge" />

src/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
@font-face {
44
font-family: Terminus;
5-
src: url("/fonts/terminus.ttf");
5+
src: url("/fonts/terminus.woff2");
66
font-weight: 400;
77
font-style: normal;
88
}

0 commit comments

Comments
 (0)