Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal line height cutting off the bottom of characters with Nerd Fonts #206324

Closed
jarshwah opened this issue Feb 27, 2024 · 2 comments
Closed
Assignees
Labels
confirmation-pending *duplicate Issue identified as a duplicate of another issue(s) terminal-rendering
Milestone

Comments

@jarshwah
Copy link

jarshwah commented Feb 27, 2024

Type: Bug

When entering commands in a terminal and at the bottom of the view (so, previous commands have been entered such that the next command is as far down the window as possible) characters that dip below the natural line (like ygpq) have their bottoms cut off.

This began happening within the last release or two when there were some changes made to terminal rendering (I believe, from memory).

The font I'm using is SauceCodePro NF. When I switch to a non-NF, the characters are no longer cut off. If I switch the line height to 1.2 the text is no longer cut off, but the look is a bit 🤮

Terminal settings:

  "terminal.integrated.shellIntegration.enabled": false,
  "terminal.integrated.fontSize": 14,
  "terminal.integrated.fontFamily": "SauceCodePro NF",
  "terminal.integrated.scrollback": 10000,
  "terminal.external.osxExec": "iTerm.app",
  "terminal.integrated.tabs.showActiveTerminal": "always",
  "terminal.integrated.tabs.focusMode": "singleClick",
  "terminal.integrated.defaultProfile.osx": "zsh",

nerd-font

non-nerd-font

VS Code version: Code 1.86.2 (903b1e9, 2024-02-13T19:42:12.210Z)
OS version: Darwin arm64 23.3.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
Load (avg) 3, 3, 3
Memory (System) 24.00GB (5.40GB free)
Process Argv --crash-reporter-id 97addac9-f01a-4553-b901-fffadef6f51e
Screen Reader no
VM 0%
Extensions: none
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30959800
d34g3935:30971562
edj9j583:30969295
fegfb526:30961430
7j2b6412:30969109
bg6jg535:30958357

@digeomel
Copy link

I'm using "terminal.integrated.fontFamily": "Source Code Pro for Powerline", and I have the same problem on:

Version: 1.87.1
Commit: 1e790d77f81672c49be070e04474901747115651
Date: 2024-03-06T00:21:07.287Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Linux x64 5.15.0-100-generic snap

@Tyriar
Copy link
Member

Tyriar commented Dec 10, 2024

/duplicate #204591

@Tyriar Tyriar closed this as completed Dec 10, 2024
@vs-code-engineering vs-code-engineering bot added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 10, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
confirmation-pending *duplicate Issue identified as a duplicate of another issue(s) terminal-rendering
Projects
None yet
Development

No branches or pull requests

5 participants