User forums > Help

Font is thin and blurry

(1/4) > >>

SomeGuy:
Hey,
Got an issue, since I don't like the default code::blocks font I changed it to Hasklig but that's where I ran into a problem. When I select that font it becomes blurry and barely readable, you can see the comparison for yourselves. This is the exact same font with the exact same settings. Curiously enough N++ had the same problem but this https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2287 fixed it. This is on windows 7, 64 bit, Codeblocks 16.01. Forgot to add I already tried reinstalling multiple times.

BlueHazzard:

--- Quote ---curiously enough N++ had the same problem
--- End quote ---
c::b and n++ use the same editor technology, so it is not surprising that both have the same bug, if the underlying tech has the bug.
Obfuscated is currently working on porting sci to a newer version. He probably is interested in this problem.

Can you open a ticket on SF? Here it probably will get lost...
Also can you compile codeblocks by yourself?
If yes, can you try this branch:
https://github.com/obfuscated/codeblocks_sf/tree/scintilla_3_7_5
and this:
https://github.com/obfuscated/codeblocks_sf/tree/scintilla_3_5_0

Thank you!

[EDIT:] 16.01 is quite old, can you try a nightly build?

SomeGuy:
Just tried out nightly build, no difference. Gonna try compiling CB versions from those two branches you provided. Tips on how to do it would be appreciated.

BlueHazzard:
for windows the wiki is the right place

http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows

SomeGuy:
After a lot of struggle and silly mistakes I've got to the point where I could finally build Code::Blocks with higher scintilla version, sadly after building for a while it just spewed out more errors.
--- Code: ---C:\Users\SomeGuy\Desktop\codeblocks_sf-scintilla_3_7_5\src\sdk\wxscintilla\src\ScintillaWX.cpp: In member function 'bool ScintillaWX::CreateSystemCaret()':
C:\Users\SomeGuy\Desktop\codeblocks_sf-scintilla_3_7_5\src\sdk\wxscintilla\src\ScintillaWX.cpp:737:27: error: 'sci' was not declared in this scope
     ::ShowCaret(GetHwndOf(sci));
                           ^
C:\Users\SomeGuy\Desktop\wxMSW-2.8.12\include/wx/msw/private.h:719:42: note: in definition of macro 'GetHwndOf'
 #define GetHwndOf(win)          ((HWND)((win)->GetHWND()))
                                          ^~~
C:\Users\SomeGuy\Desktop\codeblocks_sf-scintilla_3_7_5\src\sdk\wxscintilla\src\ScintillaWX.cpp: In member function 'bool ScintillaWX::DestroySystemCaret()':
C:\Users\SomeGuy\Desktop\codeblocks_sf-scintilla_3_7_5\src\sdk\wxscintilla\src\ScintillaWX.cpp:748:31: error: 'sci' was not declared in this scope
         ::HideCaret(GetHwndOf(sci));
                               ^
C:\Users\SomeGuy\Desktop\wxMSW-2.8.12\include/wx/msw/private.h:719:42: note: in definition of macro 'GetHwndOf'
 #define GetHwndOf(win)          ((HWND)((win)->GetHWND()))

--- End code ---

Honestly getting really frustrated with this, I am compiling something so simple, yet there were so many quirks that weren't explained on wiki or didn't make any sense to me.

Navigation

[0] Message Index

[#] Next page

Go to full version