mirror of
https://github.com/2234839/web-font.git
synced 2026-11-25 08:04:01 +08:00
docs: 添加开发者社群入口
This commit is contained in:
parent
26e34ea850
commit
7790242cef
@ -4,6 +4,8 @@
|
||||
|
||||
[中文](README.md)
|
||||
|
||||
[](https://tsfullstack.heartstack.space/group/gs?from=web-font)
|
||||
|
||||
**Chinese fonts are huge** (Source Han Sans: 16MB+). You can't just `@font-face` them like English fonts.
|
||||
|
||||
This project subsets fonts on the server side — pass in the text you need, get back only those glyphs. A poster with 20 characters? The font file is 20KB, not 16MB.
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
|
||||
[English](README.en.md)
|
||||
|
||||
[](https://tsfullstack.heartstack.space/group/gs?from=web-font)
|
||||
|
||||
**中文字体包太大**(思源黑体 16MB+),没法像英文字体那样直接 `@font-face` 引入。
|
||||
|
||||
本项目在服务端按需子集化字体——传什么文字,就只返回那些字符的字体子集。一张海报用了 20 个字?返回的字体文件就是 20KB,而不是 16MB。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user