In many sites the best font for IDEs is Inconsolata, and when it comes to Code::Blocks it does not support anti-aliasing for these type of fonts. It is the 17th version but it still doesn't support anti-aliasing. Why don't the developers of this IDE provide this facility?
What do you mean? Which OS? How many dpis have you monitor? Screenshot comparing it to another editor where AA works?
I am using windows. The first picture is from sublime and the other one is from the codeblocks. Both are set to Inconsolata font.
I have attached it for you.
The images aren't visible.
I couldn't put an image using the image tag, so i attached it. I need a little help with these image tags syntax. The images are in my desktop.
I would suggest using a larger font size in Code::Blocks and see if that improves the font appearance.
Tim S.
Does this problem happen with all fonts? Does this font work in notepad++? CodeLite?
Attached are two screenshots taken from latest CodeLite. The first uses the Inconsolata As you can see, its smooth. The second shows the support for ligatures in wxSTC.
I am not sure if you guys are doing this for CodeBlocks, but to get the smooth look + support ligature (for Windows), you will need to change wx/setup.h a little bit:
Enable wxGCDC:
#define wxUSE_GRAPHICS_CONTEXT 1
and also this is enabled:
#define wxUSE_GRAPHICS_DIRECT2D 1
Now, in all wxSTC subclasses, I have this call enabled for Windows:
wxStyledTextCtrl::SetTechnology(wxSTC_TECHNOLOGY_DIRECTWRITE);
Inconsolata smooth:
(https://codelite.org/tmp/smooth.png)
Fira Code (font with ligatures, IMO, the best coding font) :
(https://codelite.org/tmp/fira-code.png)
HTH,
Eran
We're not doing this yet. But I wanted to know if it is related or not.