Scintilla poor font quality

Just starting out? Need help? Post your questions and find answers here.
soren
User
User
Posts: 11
Joined: Sat Mar 28, 2020 5:38 pm

Scintilla poor font quality

Post 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.
User avatar
Tenaja
Addict
Addict
Posts: 1949
Joined: Tue Nov 09, 2010 10:15 pm

Re: Scintilla poor font quality

Post 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.
User avatar
Kiffi
Addict
Addict
Posts: 1357
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: Scintilla poor font quality

Post 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.
Hygge
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: Scintilla poor font quality

Post 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.
soren
User
User
Posts: 11
Joined: Sat Mar 28, 2020 5:38 pm

Re: Scintilla poor font quality

Post 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!
soren
User
User
Posts: 11
Joined: Sat Mar 28, 2020 5:38 pm

Re: Scintilla poor font quality

Post by soren »

Ok, it seems I just need to call SetDPIAware()..:)
Post Reply