mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-26 07:24:46 +00:00
docs: Add documentation for text_rendering_mode (#46358)
We added support for it in https://github.com/zed-industries/zed/pull/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
This commit is contained in:
parent
1468ee2ae5
commit
b8dfc31fcd
1 changed files with 32 additions and 0 deletions
|
|
@ -4317,6 +4317,38 @@ Example command to set the title: `echo -e "\e]2;New Title\007";`
|
|||
},
|
||||
```
|
||||
|
||||
## Text Rendering Mode
|
||||
|
||||
- Description: The text rendering mode to use.
|
||||
- Setting: `text_rendering_mode`
|
||||
- Default: `platform_default`
|
||||
|
||||
**Options**
|
||||
|
||||
1. Use grayscale text rendering.
|
||||
|
||||
```json [settings]
|
||||
{
|
||||
"text_rendering_mode": "grayscale"
|
||||
}
|
||||
```
|
||||
|
||||
2. Use subpixel (ClearType-style) text rendering.
|
||||
|
||||
```json [settings]
|
||||
{
|
||||
"text_rendering_mode": "subpixel"
|
||||
}
|
||||
```
|
||||
|
||||
3. Use platform default behavior.
|
||||
|
||||
```json [settings]
|
||||
{
|
||||
"text_rendering_mode": "platform_default"
|
||||
}
|
||||
```
|
||||
|
||||
## Theme
|
||||
|
||||
- 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue