# fonts **Repository Path**: chifeng/fonts ## Basic Information - **Project Name**: fonts - **Description**: 日常用到的字体仓库合集 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-09-21 - **Last Updated**: 2026-09-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # fonts — 免费可商用字体精选集 收集**无版权风险、可自由分发**的开源字体,重点覆盖 **Typst 排版**所需的中英文主流印刷字体。所有字体均使用宽松许可(SIL OFL / Apache 2.0 / GUST Font License),可用于个人、商业、印刷、嵌入 PDF 等场景。 > ⚠️ 免责声明:本仓库对许可信息的整理基于各字体官方声明,发布前请自行核对 `docs/licenses.md` 中的核对清单。仓库作者不提供法律意见。 --- ## 目录结构 ``` fonts/ ├── README.md ← 本文件 ├── docs/ │ ├── licenses.md ← 许可政策与收录标准 │ └── typst-usage.md ← Typst 字体使用详解 ├── scripts/ │ ├── install.ps1 ← Windows 批量安装本仓库字体 │ └── install.sh ← Linux/macOS 批量安装 ├── examples/ │ ├── showcase.typ ← 字体展示页(编译后对照效果) │ ├── article.typ ← 中文正文+西文+数学混排示例 │ └── thesis.typ ← 论文/书籍印刷风格示例 └── fonts/ ← 字体文件按家族分目录存放(需自行下载,见下表) ├── cjk/ ← 中日韩 ├── latin/ ← 西文衬线/无衬线 ├── math/ ← 数学 └── mono/ ← 等宽 ``` --- ## 一、中文(CJK)字体 — Typst 主流推荐 | 字体 | 风格 | 许可 | 官方来源 | Typst 字体名 | | ----------------------------------- | --------------------------- | ---------------------- | ------------------------------------------------------------------------------ | ----------------------- | | **思源宋体 Source Han Serif** | 宋体/明朝体,印刷正文首选 | SIL OFL 1.1 | [adobe-fonts/source-han-serif](https://github.com/adobe-fonts/source-han-serif) | `Source Han Serif SC` | | **思源黑体 Source Han Sans** | 黑体,标题/屏显 | SIL OFL 1.1 | [adobe-fonts/source-han-sans](https://github.com/adobe-fonts/source-han-sans) | `Source Han Sans SC` | | **Noto Serif/Sans CJK SC** | 与思源同源(Google 发行版) | SIL OFL 1.1 | [notofonts/noto-cjk](https://github.com/notofonts/noto-cjk) | `Noto Serif CJK SC` | | **霞鹜文楷 LXGW WenKai** | 楷体,温润,适合正文/引文 | SIL OFL 1.1 | [lxgw/LxgwWenKai](https://github.com/lxgw/LxgwWenKai) | `LXGW WenKai` | | **霞鹜文楷 GB** | 国标字形版文楷 | SIL OFL 1.1 | [lxgw/LxgwWenKaiGB](https://github.com/lxgw/LxgwWenKaiGB) | `LXGW WenKai GB` | | **文泉驿微米黑** | 黑体,体积小 | Apache 2.0 / GPLv3+FE | [wenquan gitee](https://gitee.com/mirrors_wenquanyi) 等镜像 | `WenQuanYi Micro Hei` | | **Fandol 宋/黑/楷/仿宋** | LaTeX CTeX 经典四体 | GPLv3 + Font Exception | CTAN`fandol` 宏包 | `FandolSong` 等 | **推荐组合(中文印刷):** 正文 = 思源宋体 SC,标题 = 思源黑体 SC,楷体引文 = 霞鹜文楷。 ## 二、西文印刷字体 | 字体 | 风格 | 许可 | 来源 | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ----------------- | ------------------------------------------------------------------------ | | **Source Serif 4** | 现代衬线,与思源宋体气质相配 | OFL 1.1 | [adobe-fonts/source-serif](https://github.com/adobe-fonts/source-serif) | | **Source Sans 3** | 人文无衬线 | OFL 1.1 | [adobe-fonts/source-sans](https://github.com/adobe-fonts/source-sans) | | **Libertinus Serif/Sans** | 经典书版,Linux Libertine 后继 | OFL 1.1 | [alerque/libertinus](https://github.com/alerque/libertinus) | | **EB Garamond** | 文艺复兴衬线,古籍风 | OFL 1.1 | [octaviopardo/EBGaramond12](https://github.com/octaviopardo/EBGaramond12) | | **Noto Serif / Noto Sans** | 超大字符集覆盖 | OFL 1.1 | [notofonts](https://github.com/notofonts) | | **STIX Two Text** | 学术出版衬线 | OFL 1.1 | [stipub/STIXfonts](https://github.com/stipub/STIXfonts) | | **TeX Gyre 系列**(Pagella=Palatino 风 / Termes=Times 风 / Heros=Helvetica 风 / Bonum=Bookman 风) | 经典复刻 | GUST Font License | [CTAN tex-gyre](https://ctan.org/pkg/tex-gyre) | | **New Computer Modern** | Computer Modern 现代扩展版(LaTeX 经典书版) | GUST Font License | [CTAN newcm](https://ctan.org/pkg/newcm) | ## 三、数学字体 | 字体 | 许可 | 说明 | | -------------------------------------- | ------- | -------------------------------------------- | | **Libertinus Math** | OFL 1.1 | **Typst 默认数学字体**,已内置于 Typst | | **New Computer Modern Math** | GUST | LaTeX 风格公式 | | **STIX Two Math** | OFL 1.1 | 学术出版标准符号集 | | **TeX Gyre Termes/Pagella Math** | GUST | 与对应正文配套 | ## 四、等宽(代码)字体 | 字体 | 许可 | 来源 | | ------------------------------------ | --------------- | --------------------------------------------------------------------------------------------------------- | | **Source Code Pro** | OFL 1.1 | [adobe-fonts/source-code-pro](https://github.com/adobe-fonts/source-code-pro) | | **JetBrains Mono** | OFL 1.1 | [JetBrains/JetBrainsMono](https://github.com/JetBrains/JetBrainsMono) | | **Fira Code** | OFL 1.1(连字) | [tonsky/FiraCode](https://github.com/tonsky/FiraCode) | | **IBM Plex Mono** | OFL 1.1 | [IBM/plex](https://github.com/IBM/plex) | | **Sarasa Mono SC(更纱黑体)** | OFL 1.1 | [be5invis/Sarasa-Gothic](https://github.com/be5invis/Sarasa-Gothic),中英文 2:1 对齐,代码注释含中文时首选 | --- ## 快速上手 1. **下载字体**:按上表链接到各项目 Release 页下载 OTF/TTF,放入 `fonts/cjk|latin|math|mono/` 对应目录(每族一文件夹,并把官方 LICENSE 文件一并放入)。 2. **安装到系统**(或直接给 Typst 指定路径,见下): ```powershell pwsh scripts/install.ps1 # Windows bash scripts/install.sh # Linux/macOS ``` 3. **验证**:`typst fonts | Select-String "Source Han"`(应列出已识别字体)。 4. **编译示例**:`typst compile examples/showcase.typ` → 打开生成的 PDF 对照效果。 详细 Typst 用法 → [docs/typst-usage.md](docs/typst-usage.md) 许可政策与收录标准 → [docs/licenses.md](docs/licenses.md)