This commit is contained in:
Ayaka
2022-10-26 18:05:28 +01:00
3 changed files with 6 additions and 1 deletions

View File

@@ -94,7 +94,7 @@ function App() {
img.width * ratio,
img.height * ratio
);
ctx.font = `${fontSize}px YurukaStd`;
ctx.font = `${fontSize}px YurukaStd, SSFangTangTi`;
ctx.lineWidth = 9;
ctx.save();

Binary file not shown.

View File

@@ -7,4 +7,9 @@ body {
@font-face {
font-family: 'YurukaStd';
src: local('YurukaStd'), url(./fonts/YurukaStd.woff2) format('woff2');
}
@font-face {
font-family: 'SSFangTangTi';
src: local('SSFangTangTi'), url(./fonts/ShangShouFangTangTi.woff2) format('woff2');
}