# Technical Documentation: be5invis/Sarasa-Gothic

> ℹ️ **Provenance:** Standard README.md · [CodeWiki Reference](https://codewiki.google/github.com/be5invis/Sarasa-Gothic) · Recency: Active (< 180 days)

# Sarasa Gothic (更纱黑体 / 更紗黑體 / 更紗ゴシック / 사라사고딕)

This is SARASA GOTHIC, a CJK composite font based on Inter, Iosevka and Source Han Sans.

## Note

It is highly recommended to completely remove the old version of the fonts before you install the newer version of this font. Many OSes' and softwares' caching system may have trouble when dealing with large TTC fonts.

## To build

You need [Node.js](https://nodejs.org/en/) (version 20 or newer), [AFDKO](https://github.com/adobe-type-tools/afdko) (latest) and [ttfautohint](https://www.freetype.org/ttfautohint) installed, then run:

```bash
npm install
```

after the NPM packages are installed, run

```bash
npm run build ttf
```

to build the TTF files, it would be in `out/ttf` directory.

To build TTC, type

```bash
npm run build ttc
```

instead, the files would be in `out/ttc` directory.

Please note that you will need *a lot of* memory to create TTCs, due to the huge quantity of subfamily-orthography combinations.

## What are the names?

- Style dimension
  - Latin/Greek/Cyrillic character set being [Inter](https://github.com/rsms/inter)
    - Quotes (`“”`) are full width —— **Gothic**
    - Quotes (`“”`) are narrow —— **UI**
  - Latin/Greek/Cyrillic character set being [Iosevka](https://github.com/be5invis/Iosevka)
    - Em dashes (`——`) are full width —— **Mono**
    - Em dashes (`——`) are half width —— **Term**
    - No ligature, Em dashes (`——`) are half width —— **Fixed**
- Orthography dimension
  - `CL`: Classical orthography
  - `SC`, `TC`, `J`, `K`, `HC`: Regional orthography, following [Source Han Sans](https://github.com/adobe-fonts/source-han-sans) notations.

## Mirrors

- TUNA (CN): https://mirrors.tuna.tsinghua.edu.cn/github-release/be5invis/Sarasa-Gothic
- NJU (CN): https://mirror.nju.edu.cn/github-release/be5invis/Sarasa-Gothic

--- METRICS ---
- Files Extracted: 1
- Estimated Token Budget: ~547 tokens
- Recency Window: Active (< 180 days)
- Canonical Reference: https://codewiki.google/github.com/be5invis/Sarasa-Gothic
