fix: kai display issue for Windows

This commit is contained in:
XieJiSS 2022-01-26 01:20:43 +08:00
parent 3fe30d84f1
commit 1f6cfeaf51
2 changed files with 11 additions and 5 deletions

View file

@ -52,19 +52,19 @@
@font-face {
font-family: "Heti Kai";
src: local("Kaiti SC Regular"), local("Kaiti TC Regular"), local("BiauKai");
src: local("Kaiti SC Regular"), local("Kaiti TC Regular"), local("STKaiti"), local("Kaiti"), local("BiauKai");
}
@font-face {
font-family: "Heti Kai";
font-weight: 600;
src: local("Kaiti SC Bold"), local("Kaiti TC Bold");
src: local("Kaiti SC Bold"), local("Kaiti TC Bold"), local("STKaiti"), local("Kaiti");
}
@font-face {
font-family: "Heti Kai Black";
font-weight: 800;
src: local("Kaiti SC Black"), local("Kaiti TC Black");
src: local("Kaiti SC Black"), local("Kaiti TC Black"), local("STKaiti"), local("Kaiti");
}
.heti {

View file

@ -7,6 +7,8 @@
src:
local("Kaiti SC Regular"),
local("Kaiti TC Regular"),
local("STKaiti"),
local("Kaiti"),
local("BiauKai");
}
@ -16,7 +18,9 @@
font-weight: 600;
src:
local("Kaiti SC Bold"),
local("Kaiti TC Bold");
local("Kaiti TC Bold"),
local("STKaiti"),
local("Kaiti");
}
// 黑体 Black
@ -25,5 +29,7 @@
font-weight: 800;
src:
local("Kaiti SC Black"),
local("Kaiti TC Black");
local("Kaiti TC Black"),
local("STKaiti"),
local("Kaiti");
}