Terminal font alignment regression when GPU acceleration used #204591
Labels
bug
Issue identified by VS Code Team member as probable bug
*duplicate
Issue identified as a duplicate of another issue(s)
terminal-rendering
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone
Type: Bug
VS Code 1.86 seems to have regressed terminal font alignment compared to 1.85 for me. When terminal GPU acceleration is used, the terminal text is placed slightly lower than expected and the cursor is taller than expected.
Context
All terminal-related settings
With terminal acceleration
terminal.integrated.gpuAcceleration: auto
This is the default acceleration value and what I normally use, but it produces bad font metrics in 1.86 for me:
In particular, the text is placed too low and the descenders of letters like "j" and "g" on the last line are cut off. Also, notice that the top of cursor block sticks out quite high and pokes up into the line above.
Without terminal acceleration
terminal.integrated.gpuAcceleration: off
With GPU acceleration off, the text metrics look correct to me:
All descenders on the last line are visible, and the cursor block is vertically aligned with the current line of text.
VS Code version: Code 1.86.0 (0504748, 2024-01-31T10:29:15.765Z)
OS version: Darwin x64 22.6.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (45)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: