Home Explore Blog CI



zed

docs/src/fonts.md
3fc9bdb065fea88001fc4d2c136e7a76a22bad98ce705d6700000003000006e0
# Fonts

<!--
TBD: WIP. Zed Fonts documentation. This is currently not linked from SUMMARY.md are so unpublished.
-->

Zed ships two fonts: Zed Plex Mono and Zed Plex Sans. These are based on IBM Plex Mono and IBM Plex Sans, respectively.

<!--
TBD: Document how Zed Plex font files were created. Repo links, etc.
-->

## Settings

<!--
TBD: Explain various font settings in Zed.
-->

- Buffer fonts
  - `buffer-font-family`
  - `buffer-font-features`
  - `buffer-font-size`
  - `buffer-line-height`
- UI fonts
  - `ui_font_family`
  - `ui_font_fallbacks`
  - `ui_font_features`
  - `ui_font_weight`
  - `ui_font_size`
- Terminal fonts
  - `terminal.font-size`
  - `terminal.font-family`
  - `terminal.font-features`

## Old Zed Fonts

Previously, Zed shipped with `Zed Mono` and `Zed Sans`, customized versions of the [Iosevka](https://typeof.net/Iosevka/) typeface. You can find more about them in the [zed-fonts](https://github.com/zed-industries/zed-fonts/) repository.

Here's how you can use the old Zed fonts instead of `Zed Plex Mono` and `Zed Plex Sans`:

1. Download [zed-app-fonts-1.2.0.zip](https://github.com/zed-industries/zed-fonts/releases/download/1.2.0/zed-app-fonts-1.2.0.zip) from the [zed-fonts releases](https://github.com/zed-industries/zed-fonts/releases) page.
2. Open macOS `Font Book.app`
3. Unzip the file and drag the `ttf` files into the Font Book app.
4. Update your settings `ui_font_family` and `buffer_font_family` to use `Zed Mono` or `Zed Sans` in your `settings.json` file.

```json
{
  "ui_font_family": "Zed Sans Extended",
  "buffer_font_family": "Zed Mono Extend",
  "terminal": {
    "font-family": "Zed Mono Extended"
  }
}
```

5. Note there will be red squiggles under the font name. (this is a bug, but harmless.)

Chunks
8a642269 (1st chunk of `docs/src/fonts.md`)
Title: Fonts in Zed: Zed Plex and Legacy Zed Fonts
Summary
Zed ships with Zed Plex Mono and Zed Plex Sans fonts, based on IBM Plex. The document outlines font settings for the buffer, UI, and terminal. It also provides instructions on how to use the older Zed Mono and Zed Sans fonts, which are customized versions of the Iosevka typeface, by downloading them from the zed-fonts repository and configuring Zed's settings.