Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Add documentation for `text_rendering_mode` (#46358)

Kunall Banerjeeb8dfc31fcd29
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md
index 7d6432c2d7d..5e6d608de2e 100644
--- a/docs/src/configuring-zed.md
+++ b/docs/src/configuring-zed.md
@@ -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.