-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Fonts are rendered with blur when "jumping" to some text. #5154
Comments
@slayerxj I can recomment using The We use We always use translate3d with integer coordinates, but the zoom in of 125% makes all those nice integers into floats. So I think Chromium then falls back to grayscale anitaliasing. The only thing I can do is to disable |
@alexandrudima would love to offer a setting to change the font for the workbench, but unfortunately we just don't have one place where we set the font. For example, all editor widgets have to define their own fonts (see https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/find/browser/findWidget.css#L78) because otherwise they would inherit the editor font. This makes it very hard to just flip the CSS in one place for good. |
@bpasero Isn't this about |
@alexandrudima well might be, though from another issue we have (if you run with CJK languages you might have some custom fonts installed on the system that you might want to use over the default ones we have) I thought it would also be nice to allow to set the font-family. But being able to set both seems good to me too. |
@alexandrudima that is very cool, thanks! |
We don't use |
Steps to Reproduce:
The fonts are rendered with blur.
If I pressed "Ctrl+Home" to "reset" the rendering, then use mouse to scroll to that line, the fonts are clear and sharp.
The details of the fonts are as below:
blur:
sharp:
It seems the height of blurred font is 16px, and the "normal" font is 15px.
Because the monitor in my company is 22" 1920*1080, the default font size of VSCode is too small. Though we can modify the "editor.fontSize" setting, but the font-size of side bar will still be very small, so I think zoom in once is the most comfortable way to make text easy to read...if without this issue.
And I think it's not a duplicate of https://github.com/Microsoft/vscode/issues/4622.
The text was updated successfully, but these errors were encountered: