You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Terminal: support crisp font rendering on HiDPI displays #337208
Terminal text in VS Code looks noticeably softer than the same font in Ghostty and other native terminals on macOS HiDPI. I've heard this from a few people: the integrated terminal reads "dull" next to a standalone terminal at the same font and size.
I dug into it and the difference on macOS is the font antialiasing policy, not resolution. Editor and workbench text get one policy, terminal text on the GPU canvas path gets another, so terminal glyphs read heavier and blurrier.
Proposal: an opt-in terminal.integrated.fontRendering setting, inherit as the unchanged default and crisp as the opt-in mode, scoped to terminal text only so the editor, workbench, terminal theme, font family, size and weight don't change. On Windows and Linux the GPU renderer could request grayscale antialiasing through xterm's existing alpha-capable canvas path.
Comparison on macOS HiDPI, left crisp, right current:
It should apply to normal, detached and sticky-scroll terminals, and keep terminal image transparency working.
Upstream: xterm.js doesn't expose a font antialiasing option today, so VS Code has to go through the allowTransparency canvas path to get this. A dedicated antialiasing/font-rendering option in xterm.js (WebGL and DOM renderers) would let this be a first-class setting rather than a side effect, and would help every xterm.js embedder, not just VS Code. Until then this stays experimental, since the visible result depends on OS, display scale, font and theme.
Activity
anthonykim1 commentedon Sep 22, 2026
dalisoft commentedon Sep 29, 2026
Anthony Kim (@anthonykim1) can you please this feature on light theme?
More info: #338199 and #299442; with demos and pictures