feat: NDS9 -> NDS10 and use woff2 fonts
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
@font-face {
|
||||
font-family: "NDS7";
|
||||
src: url("/assets/fonts/nds-7px.ttf") format("truetype");
|
||||
src: url("/assets/fonts/nds-7px.woff2") format("woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "NDS9";
|
||||
src: url("/assets/fonts/nds-9px.ttf") format("truetype");
|
||||
font-family: "NDS10";
|
||||
src: url("/assets/fonts/nds-10px.woff2") format("woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
BIN
app/assets/fonts/nds-10px.woff2
Normal file
BIN
app/assets/fonts/nds-10px.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/assets/fonts/nds-7px.woff2
Normal file
BIN
app/assets/fonts/nds-7px.woff2
Normal file
Binary file not shown.
Binary file not shown.
@@ -55,7 +55,7 @@ useRender((ctx) => {
|
||||
}
|
||||
|
||||
ctx.fillStyle = "black";
|
||||
ctx.font = "10px NDS9";
|
||||
ctx.font = "10px NDS10";
|
||||
ctx.letterSpacing = "2px";
|
||||
|
||||
const timeText = `${month}/${year}`;
|
||||
|
||||
Reference in New Issue
Block a user