On 12 Dec 2015, at 2:45 a.m., Shriramana Sharma <[email protected]> wrote:
> 
> On 12/11/15, Phil Thompson <[email protected]> wrote:
>> 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.
> 
> Hi Phil and thanks for your reply. Since I'm manually setting the
> lexer font, isn't it sufficient for me to directly set it to the QFont
> object? I tried:
> 
> monospaceFont = QFont("monospace")
> monospaceFont.setHintingPreference(QFont.PreferFullHinting)
> monospaceFont.setStyleStrategy(QFont.PreferAntialias)
> 
> But still I'm getting the same display... Would doing it via Sci make
> a difference?

I don't know - I don't know what the rest of your code is doing.

Phil
_______________________________________________
QScintilla mailing list
[email protected]
https://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to