Skip to content

Font width issue with zoom level #323647

Description

@mcc85s

Type: Bug

I'm currently running a virtualization lab on RHEL 9.8, using VSCode and Cascadia Code for the font on linux, certain zoom modes force the font to look super skinny and warped. I could provide screenshots, but this issue reporter does not appear to have that in here anywhere.

So, steps to reproduce:

  1. install VSCode on linux (would hope u guys know how)
  2. install Cascadia code fonts
    sudo curl -s https://api.github.com/repos/microsoft/cascadia-code/releases/latest | grep browser_download_url | grep zip | cut -d '"' -f 4 | xargs sudo curl -L -o /tmp/cascadia.zip
    sudo unzip /tmp/cascadia.zip -d /usr/share/fonts/cascadia
    sudo fc-cache -f -v
    fc-list | grep -i cascadia
  3. update settings.json to target Cascadia Code
    "editor.fontFamily": "Cascadia Code"
  4. use CTRL + and CTRL - to cycle through zoom settings.

I asked copilot what it thinks and it gave me a bunch of useless suggestions that either didn't work, or were trying to resolve it elsewhere using DPI type commands.

It's not an XRDP issue, nor an issue with the font itself, the renderer for the editor is squeezing the font by like 25-33%? I can't even tell what zoom setting it's on, but the font issue occurs over Hyper-V window, OR using RDP window.

I like this font, I always use it, I always wind up installing a bunch of Microsoft stuff on linux, edge, vscode, extensions... would be nice to have a solution for this particular issue.

VS Code version: Code 1.126.0 (7e7950d, 2026-06-23T01:46:13Z)
OS version: Linux x64 5.14.0-687.5.3.el9_8.x86_64
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (2 x 0)
GPU Status 2d_canvas: unavailable_software
GPU0: VENDOR= 0x0000 [Google Inc. (Mesa)], DEVICE=0x0000 [ANGLE (Mesa, llvmpipe (LLVM 21.1.7 256 bits), OpenGL 4.5 (Core Profile) Mesa 25.2.7)], DRIVER_VENDOR=Mesa, DRIVER_VERSION=25.2.7 ACTIVE
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: disabled_off
opengl: unavailable_off
rasterization: unavailable_off
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: unavailable_off
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_off
webgpu: unavailable_software
webgpu_on_vk_via_gl_interop: disabled_off
webnn: disabled_off
Load (avg) 1, 1, 1
Memory (System) 6.28GB (3.58GB free)
Process Argv --crash-reporter-id c13d1c90-2e33-4f8a-abfe-3b4e3d924a32
Screen Reader no
VM 0%
DESKTOP_SESSION undefined
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP undefined
XDG_SESSION_TYPE x11
Extensions (4)
Name Identifier Author Version
C# Dev Kit ms-dotnettools.csdevkit ms-dotnettools 3.20.199
C# ms-dotnettools.csharp ms-dotnettools 2.140.9
.NET Install Tool ms-dotnettools.vscode-dotnet-runtime ms-dotnettools 3.1.0
PowerShell ms-vscode.powershell ms-vscode 2025.4.0
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31538736
cloudbuttont:31379625
3efgi100_wstrepl:31403338
56b7f661:31457055
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_c_632:31537245
852d2892:31506239
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
2cfga817_c:31522397
a1ije391_t:31540920
41836166:31537719
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_c_nes:31533503
gf14b233:31526830
nes-curr-leftover-1500:31538366
h561g132:31533256
sessions_5:31532894
h7dd7680:31541765
ihg5j128:31534457
7g2b5551:31542111

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions