'IDE Font spacing problems
A couple months ago, the font I was using in the NetBeans IDE suddenly had huge spaces between each letter, making it almost unreadable. (I was using the Papyrus font, which I modified to be monospaced; this gave my comments a hand-written look while still being usable.) I figured the spacing issue was my fault due to the modified font, so I simply changed to a different font. This worked fine, if a little less fun.
Now, I am using the Dev C++ IDE, as recommended for a class I am taking. I am once again getting the same problem here, only with all fonts. Does anyone know how to fix this?
- Is this a Windows 7 setting? (unknown; nothing has changed in Windows that I know of)
- Is this an IDE setting? (possible, but it happened on more than one IDE)
- Is this a font problem? (unlikely, as all fonts have the same problem)
Screenshots:
This is what it should look like:
Solution 1:[1]
I had the same problem. I was able to solve this by changing the font family to Consolas under the Tools option in menu bar:
Tools -> Editor Options -> Fonts (Tab)
Consolas is the default font family for Dev-Cpp.
I believe font support for other families is a bit broken in some recent versions (I am using 5.11). Almost all the other fonts give me this spacing problem as well, but Consolas works just fine. It's pretty disappointing having to adhere to just one font, but everything else makes the code unbearable at the moment.
Solution 2:[2]
On Dev-c++ go to tools,editors option, uncheck Cursor past EOL. Hope this helps
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Jeremy Caney |
Solution 2 | Porfirio Meza |