Code::Blocks doesn't support proper scaling and the font is set to be blurry on high DPI monitors according to a reply in the forum ...
http://forums.codeblocks.org/index.php/topic,22349.msg152174.html#msg152174
Even if the scaling doesn't work nicely it should be still up to the users to decide if they want to use Code::Blocks on a high DPI monitor. Setting the font blur hurts the eyes and forces users not to use Code::Blocks. C::B 16.01 didn't have that issue and thus, it should be possible to remove this weird setting quite soon.
Steffen
Nothing fast we could do at the moment.
We need to migrate to new wx (3.1+) and then fix all problems and there are many.
And then we need higher res icons and a way to switch them.
It will happen someday, but unfortunately won't be soon.
Obviously you have a workaround, so things are not as bad.
Patches welcome.
Thanks for the information Teodor.
Yes I'm able to work around but it's likely that not everyone will read or understand this little hack. Furthermore if this is an issue on other platforms too then those guys are out of luck. That's the reason why I reported it for a proper tracking.
Steffen
I solved it by righ-clicking on the codeblocks exe file and marking "override high DPI scaling behavior. Scaling performed by: Application" in the compatibility tab of properties.
Last edit: Simon 2018-01-25
That's one of the possibilities Simon. Unfortunately the forum link in my initial post is corrupted. I'll try to provide it again:
http://forums.codeblocks.org/index.php/topic,22349.msg152174.html#msg152174
20.03 should have fixed most of the HiDPI problems.
I can confirm that this issue has been solved. Thank you Teodor and team!