Subset the CJK fonts and serve them as woff2
This commit is contained in:
@@ -12,21 +12,21 @@
|
||||
/* Noto Sans SC — self-hosted */
|
||||
@font-face {
|
||||
font-family: "Noto Sans SC";
|
||||
src: url("/fonts/noto-sans-sc-400.ttf") format("truetype");
|
||||
src: url("/fonts/noto-sans-sc-400.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Noto Sans SC";
|
||||
src: url("/fonts/noto-sans-sc-500.ttf") format("truetype");
|
||||
src: url("/fonts/noto-sans-sc-500.woff2") format("woff2");
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Noto Sans SC";
|
||||
src: url("/fonts/noto-sans-sc-700.ttf") format("truetype");
|
||||
src: url("/fonts/noto-sans-sc-700.woff2") format("woff2");
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
|
||||
Reference in New Issue
Block a user