# adobe-fonts/source-han-sans architecture

> Architecture diagram of the GitHub repository adobe-fonts/source-han-sans, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/adobe-fonts/source-han-sans
- Repository: https://github.com/adobe-fonts/source-han-sans

## Overview

Source Han Sans is a Pan-CJK OpenType font project whose repository contains font-design sources and supporting data. The documented workflow is to use those sources with AFDKO to build fonts; users can obtain released fonts in multiple deployment configurations. The tree also shows regional, weight, and variable-font source variants. No source excerpts were provided, so relationships beyond the README’s general source-to-font build description are omitted.

Main entry points: [`Masters`](https://github.com/adobe-fonts/source-han-sans/tree/master/Masters) (Regional masters), [`Masters/designspaces`](https://github.com/adobe-fonts/source-han-sans/tree/master/Masters/designspaces) (Variable designspaces)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_design["Font design sources"]
  node_masters["Regional masters"]
  node_designspaces["Variable designspaces"]
  node_features["OpenType features"]
  node_cidmetadata["CID metadata"]
  node_stat["Style axes<br/>[STAT.fea]"]
end

subgraph group_support["Font support data"]
  node_names["Font naming data"]
  node_sequences["Regional sequences"]
  node_cmaps["Unicode CMaps"]
end

subgraph group_outputs["Font configurations"]
  node_otf["OpenType fonts"]
  node_otc["OpenType collections"]
  node_variable["Variable fonts"]
  node_subsets["Subset fonts"]
end

node_user(("Font users"))

node_masters -->|"builds into"| node_otf
node_masters -->|"builds into"| node_otc
node_designspaces -->|"builds into"| node_variable
node_user -->|"downloads"| node_otf
node_user -->|"downloads"| node_otc
node_user -->|"downloads"| node_variable
node_user -->|"downloads"| node_subsets

click node_masters "https://github.com/adobe-fonts/source-han-sans/tree/master/Masters"
click node_designspaces "https://github.com/adobe-fonts/source-han-sans/tree/master/Masters/designspaces"
click node_features "https://github.com/adobe-fonts/source-han-sans/tree/master/Masters"
click node_cidmetadata "https://github.com/adobe-fonts/source-han-sans/tree/master/Masters"
click node_stat "https://github.com/adobe-fonts/source-han-sans/blob/master/Masters/STAT.fea"
click node_names "https://github.com/adobe-fonts/source-han-sans/blob/master/FontMenuNameDB"
click node_sequences "https://github.com/adobe-fonts/source-han-sans/blob/master/SourceHanSans_CN_sequences.txt"
click node_cmaps "https://github.com/adobe-fonts/source-han-sans/blob/master/UniSourceHanSansCN-UTF32-H"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_masters,node_designspaces,node_features,node_cidmetadata,node_stat,node_user toneBlue
class node_names,node_sequences,node_cmaps toneAmber
class node_otf,node_otc,node_variable,node_subsets toneMint
```

## Components

### Font design sources

- [Regional masters](https://github.com/adobe-fonts/source-han-sans/tree/master/Masters): `Masters`
- [Variable designspaces](https://github.com/adobe-fonts/source-han-sans/tree/master/Masters/designspaces): `Masters/designspaces`
- [OpenType features](https://github.com/adobe-fonts/source-han-sans/tree/master/Masters): `Masters`
- [CID metadata](https://github.com/adobe-fonts/source-han-sans/tree/master/Masters): `Masters`
- [Style axes](https://github.com/adobe-fonts/source-han-sans/blob/master/Masters/STAT.fea): `Masters/STAT.fea`

### Font support data

- [Font naming data](https://github.com/adobe-fonts/source-han-sans/blob/master/FontMenuNameDB): `FontMenuNameDB`
- [Regional sequences](https://github.com/adobe-fonts/source-han-sans/blob/master/SourceHanSans_CN_sequences.txt): `SourceHanSans_CN_sequences.txt`
- [Unicode CMaps](https://github.com/adobe-fonts/source-han-sans/blob/master/UniSourceHanSansCN-UTF32-H): `UniSourceHanSansCN-UTF32-H`

### Font configurations

- **OpenType fonts**
- **OpenType collections**
- **Variable fonts**
- **Subset fonts**

### Other components

- **Font users**

## Connections

- Regional masters → OpenType fonts: builds into (evidence: `README.md`)
- Regional masters → OpenType collections: builds into (evidence: `README.md`)
- Variable designspaces → Variable fonts: builds into (evidence: `README.md`)
- Font users → OpenType fonts: downloads (evidence: `README.md`)
- Font users → OpenType collections: downloads (evidence: `README.md`)
- Font users → Variable fonts: downloads (evidence: `README.md`)
- Font users → Subset fonts: downloads (evidence: `README.md`)
