From 7790242cefe33ca8e3fd054c5c2b5f595ef0f0cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=AE=E7=94=9F=EF=BC=88=E5=AD=90=E8=99=9A=EF=BC=89?= <2234839456@qq.com> Date: Thu, 29 Oct 2026 22:40:53 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E8=80=85=E7=A4=BE=E7=BE=A4=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 2 ++ README.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.en.md b/README.en.md index 5ccfa79..5692c64 100644 --- a/README.en.md +++ b/README.en.md @@ -4,6 +4,8 @@ [中文](README.md) +[![扫码加入开发者社群](https://tsfullstack.heartstack.space/group/gs.svg?from=web-font)](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. diff --git a/README.md b/README.md index acf8049..f6cd288 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ [English](README.en.md) +[![扫码加入开发者社群](https://tsfullstack.heartstack.space/group/gs.svg?from=web-font)](https://tsfullstack.heartstack.space/group/gs?from=web-font) + **中文字体包太大**(思源黑体 16MB+),没法像英文字体那样直接 `@font-face` 引入。 本项目在服务端按需子集化字体——传什么文字,就只返回那些字符的字体子集。一张海报用了 20 个字?返回的字体文件就是 20KB,而不是 16MB。