Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

备稿计划: 使用 font-slice 切割字体, 以确保 Web 中显示特定字体 #140

Open
iugo opened this issue Oct 15, 2024 · 0 comments

Comments

@iugo
Copy link
Member

iugo commented Oct 15, 2024

项目: https://github.com/voderl/font-slice
MIT License

在 Web 中使用中文字体一直是一个难题, 难在中文字体一般比较大, 一般使用中文字体则影响初次加载速度.

以前有过一些方案, 会根据当前页面的文字实时生成字体切片. 但这个方法一直没有得到广泛应用.

这个方案的好处是解决了任意网页首屏加载的速度问题.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant