Skip to content

Commit b8dfc31

Browse files
authored
docs: Add documentation for text_rendering_mode (#46358)
We added support for it in #45423. It’s already in preview, but not yet in stable. So I’m going to keep this in my drafts till then. Release Notes: - N/A
1 parent 1468ee2 commit b8dfc31

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

‎docs/src/configuring-zed.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4317,6 +4317,38 @@ Example command to set the title: `echo -e "\e]2;New Title\007";`
43174317
},
43184318
```
43194319

4320+
## Text Rendering Mode
4321+
4322+
- Description: The text rendering mode to use.
4323+
- Setting: `text_rendering_mode`
4324+
- Default: `platform_default`
4325+
4326+
**Options**
4327+
4328+
1. Use grayscale text rendering.
4329+
4330+
```json [settings]
4331+
{
4332+
"text_rendering_mode": "grayscale"
4333+
}
4334+
```
4335+
4336+
2. Use subpixel (ClearType-style) text rendering.
4337+
4338+
```json [settings]
4339+
{
4340+
"text_rendering_mode": "subpixel"
4341+
}
4342+
```
4343+
4344+
3. Use platform default behavior.
4345+
4346+
```json [settings]
4347+
{
4348+
"text_rendering_mode": "platform_default"
4349+
}
4350+
```
4351+
43204352
## Theme
43214353

43224354
- Description: The theme setting can be specified in two forms - either as the name of a theme or as an object containing the `mode`, `dark`, and `light` themes for the Zed UI.

0 commit comments

Comments
 (0)