Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

visual studio code - Blurry font rendering with smaller font sizes in VSCode

VSCode uses Electron/Chromium for its GUI and inherits some font rendering problems from it. VSCode ships with default font Consolas 14px, but I consider Consolas 12px to be my standard, because it gives me much better overview of the whole code (on common 1920x1080 resolutions I consider font bigger than 12px to be a waste of space). However, in this font size my code looks slightly fuzzy and with faded colors (see screenshot). It is so annoying when working with code, that it prevents me from using the VSCode editor. (Clear seeing of the code text is more important for me than all the VSCode IntelliSense features.)

This is definitively a Chromium issue, and I have also filed a bug on Chromium bugtracker. The same issue happens with some webpages in Chrome and in every other Chromium-based IDE (e.g. Atom). Only old-school editors like Notepad++ or NetBeans are OK.

I don't expect it to be repaired any time soon, and I have also tried whatever solutions possible (--disable-gpu flag, workbench.fontAliasing setting, -webkit-font-smoothing CSS property, trying different fonts...). It seems to be platform-independent (I've been testing on Windows + Linux and on different laptops).

So I can use smaller font which is blurry, or use bigger font which is impractical, or use another editor. I have chosen the last option. Anyway, I am just trying to understand why there are so many happy developers using VSCode, but just for me it is unusable. Is there something wrong with my eyes?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...