[QScintilla] How to enable antialiasing
Phil Thompson
phil at riverbankcomputing.com
Fri Dec 11 12:48:51 GMT 2015
On 11 Dec 2015, at 7:50 a.m., Shriramana Sharma <samjnaa at gmail.com> wrote:
>
> Hello. I am using QScintilla via PyQt for my C/C++/D quick access
> program https://github.com/jamadagni/dhee. Please see the attached
> screenshot comparing the rendering of text of the program vs KDevelop
> 4.7.1.
>
> It seems to me that antialiasing is missing from the QSci rendering. I
> tried looking into the reference at
> http://pyqt.sourceforge.net/Docs/QScintilla2/classQsciScintilla.html
> but I could not find any specific place to set antialiasing to on. I
> hope I'm not missing anything.
>
> My versions are: QSci 2.8.1 with PyQt 4.10.4 and Qt 4.8.5 on Kubuntu
> Trusty 64 bit.
>
> Please advise. Thank you.
It will use the Qt default settings. You can use the SCI_SETFONTQUALITY low level API to change the QFont::StyleStrategy that is used when selecting a font.
Phil
More information about the QScintilla
mailing list