Skip to content

Commit 188fcd4

Browse files
committed
Document rescaleOverlappingGlyphs
1 parent 0541835 commit 188fcd4

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

docs/terminal/appearance.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,18 @@ Below are some examples of these characters with custom line height and letter s
178178

179179
This feature can be disabled by setting `"terminal.integrated.customGlyphs": false`.
180180

181+
### Rescaling ambiguous width glyphs
182+
183+
Some unicode characters have an ambiguous width where the backend and frontend of the terminal may not agree on the size. When [GPU acceleration](#gpu-acceleration) is enabled and this occurs, the glyph will be rescaled horizontally in order to fit in the a single cell in order to prevent overlapping.
184+
185+
For example, the below image features roman numeral characters that are squashed into a single cell:
186+
187+
![VIII and XII characters would be rescaled horizontally so as to not overlap with following characters. They feature a thinner stroke width when this happens due to the scaling](images/appearance/rescale-on.png)
188+
189+
This feature can be disabled by setting `"terminal.integrated.rescaleOverlappingGlyphs": false` which would result in the following overlapped rendering:
190+
191+
![When off, the VIII and XII characters may overlap the following characters](images/appearance/rescale-off.png)
192+
181193
## Customizing your prompt
182194

183195
Most shells allow extensive customization of the terminal prompt. This is done by configuring your shell outside VS Code, typically by modifying the `$PS1` variable, setting a `$PROMPT_COMMAND` or installing a plugin.
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)