Recently, someone notified me that TTF version of popular Inconsolata font had released and is accessible here. There were some troubles with the OpenType version of the font, so you had to convert it manually to TTF format in order to use in Visual Studio 2010.
So, I’ve downloaded and installed it immediately. The font appeared in Visual Studio 2010 font list. Good. I’ve set it as a default font for text editor and what I’ve seen? Something unexpected:
All kind of braces are being rendered in bold, the same goes for semi-colon and comma symbols. But wait, may be the problem is not in VS2010 and the font has troubles? Let’s check the hypothesis and do the same in VS2008:
Looks amazing!
Checking the hypothesis in Notepad:
Again, no problems. The font is really awesome.
So what are the problems with that Visual Studio 2010 text editor? What were the reasons to change the bug-free and greatly working component from Visual Studio 2008 to this unreliable child of modern technologies? I don’t know.
P.S.
If you find a workaround, please, notify me. Thanks.
Hi there!
I downloaded ttf version of inconsolata, but i saw that ttf version is not working as antialised in ssms and vs 2010
ReplyDeletewhen i install otf version, font becomes antialised (of course only in ssms, i cant see font in vs 2010)
how can i make TTF version work as antialised in vs 2010 ?
Hello,
ReplyDeleteUnfortunately, I don't know how to fix issues of the font rendering in Visual Studio 2010. It seems that we should wait for an updated version of the font from its author.
but you have same issue too , right ?
ReplyDeleteRight.
ReplyDeleteVS 2010 code editor, which is written on WPF, has some troubles in font rendering, it has its own rendering engine and it doesn't rely on Windows rendering system. That is the root of all evil.
Just tried this and found that I see the 'bold braces' problem in C# but not C++. Curiouser and curiouser...
ReplyDeleteI can hardly believe this. I was thinking that there is one editor for all languages and it is "configured" with a set of syntax rules, etc.
ReplyDeleteBtw, I'm just curious, what if you take an ordinary C# file and change its extension to '.txt', will these 'bold braces' still remain?