Skip to content

Commit

Permalink
improved font loading time by subsetting japanese fonts to hiragana o…
Browse files Browse the repository at this point in the history
…nly (might get sued for EULA violation)
  • Loading branch information
TheGAzed committed Jul 28, 2024
1 parent 4435f3c commit 5faf59b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hiravrt/wwwroot/css/defaults.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@

@font-face {
font-family: 'GL-NovantiquaMinamoto';
src: url(../font/japanese/GL-NovantiquaMinamoto/GL-NovantiquaMinamoto.ttf);
src: url(../font/japanese/GL-NovantiquaMinamoto/GL-NovantiquaMinamoto-Hiragana.ttf);
}

@font-face {
font-family: 'HachiMaruPop-Regular';
src: url(../font/japanese/HachiMaruPop/HachiMaruPop-Regular.ttf);
src: url(../font/japanese/HachiMaruPop/HachiMaruPop-Regular-Hiragana.ttf);
}

@font-face {
font-family: 'NikkyouSans';
src: url(../font/japanese/NikkyouSans/NikkyouSans-mLKax.ttf);
src: url(../font/japanese/NikkyouSans/NikkyouSans-mLKax-Hiragana.ttf);
}

@font-face {
font-family: 'ReggaeOne-Regular';
src: url(../font/japanese/ReggaeOne/ReggaeOne-Regular.ttf);
src: url(../font/japanese/ReggaeOne/ReggaeOne-Regular-Hiragana.ttf);
}

@font-face {
font-family: 'YujiBoku-Regular';
src: url(../font/japanese/YujiBoku/YujiBoku-Regular.ttf);
src: url(../font/japanese/YujiBoku/YujiBoku-Regular-Hiragana.ttf);
}

* {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 5faf59b

Please sign in to comment.