microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.87k stars 28.45k forks source link

Terminal font rendering not correct when launching #157426

Closed BigfootN closed 1 year ago

BigfootN commented 2 years ago

Hello,

I am facing an issue when setting:

"terminal.integrated.fontFamily": "Iosevka Term",
"terminal.integrated.fontSize": 16,
"terminal.integrated.shellIntegration.decorationIcon": "",

When setting the font while vscode is running, there is no problem, I can see the font rendering in the terminal without any problems:

image

Unfortunately, when I close and relaunch vscode I can see this:

image

In order to get the correct rendering I have to modify the settings.json file and save it modify it back again with the same font in order for vscode to take it into account. It's as if the font isn't taken into account when launching vscode.

Thank you very much in advance for any help.

Tyriar commented 1 year ago

This is probably a race condition somewhere on our end, or Electron taking too long to load in the fonts. https://github.com/microsoft/vscode/issues/166701 should make the situation much better

Tyriar commented 1 year ago

I can't reproduce this, please let us know if you see if in 1.75+