Page 1 of 1

Scintilla poor font quality

Posted: Thu Apr 09, 2020 9:51 am
by soren
Does anyone know why the fonts look so (relative) bad/blurry in Scintilla, and if it can be improved? I have already experimented with #SCI_SETFONTQUALITY, but it doesn't really help.

Re: Scintilla poor font quality

Posted: Thu Apr 09, 2020 12:57 pm
by Tenaja
I have used scintilla extensively, and never noticed it. Maybe you have a bad font, or you are using a bad font size.

I've used it at low res screens smaller than 1280x1025, and 4k.

Re: Scintilla poor font quality

Posted: Thu Apr 09, 2020 1:02 pm
by Kiffi
soren wrote:Does anyone know why the fonts look so (relative) bad/blurry in Scintilla, and if it can be improved?
A screenshot showing what you mean would be fine.

Re: Scintilla poor font quality

Posted: Thu Apr 09, 2020 1:04 pm
by kenmo
What OS and what PB version?

I've only seen blurry Scintilla in the past when having DPI issues... like the OS was scaling up a non-DPI-aware program... haven't noticed in a while though.

Re: Scintilla poor font quality

Posted: Thu Apr 09, 2020 6:10 pm
by soren
Sorry, I was not using the newest PB and now that I updated it the PB editor itself looks much better! (I suppose PB is also using Scintilla?) The Scintilla editor in my own app still looks bad though. I am using Windows 10 with scaling (225%) and it seems the problem is not there if I turn off scaling..
ps. in this newer version of PB the icons are too tiny, and if I turn off scaling they become even tinier!

Re: Scintilla poor font quality

Posted: Thu Apr 09, 2020 6:38 pm
by soren
Ok, it seems I just need to call SetDPIAware()..:)