Skip to content

Commit

Permalink
将字体从SSFangTangTi替换为Inter,以支持更好的文本渲染
Browse files Browse the repository at this point in the history
  • Loading branch information
Shua-github committed Dec 29, 2024
1 parent 5ae69a8 commit 6b37b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function App() {
img.width * ratio,
img.height * ratio
);
ctx.font = `${fontSize}px YurukaStd, SSFangTangTi`;
ctx.font = `${fontSize}px YurukaStd, Inter`;
ctx.miterLimit = 2.5;
ctx.save();

Expand Down

0 comments on commit 6b37b2f

Please sign in to comment.