[QScintilla] Display issue on windows

Phil Thompson phil at riverbankcomputing.com
Thu Apr 7 16:30:42 BST 2011


On Thu, 7 Apr 2011 00:29:35 +0200, christophe duvernois
<christophe.duvernois at gmail.com> wrote:
> Hi
> 
> - The following code on windows with qscintilla 2.5 doesn't have the
same
> render on screen as with 2.4.6
> the "courier new" font was "clear" on 2.4.6 but on 2.5 the font display
is
> kind of blurred.
> Any ideas??
> 
> #include <QApplication>
> #include <Qsci/qsciscintilla.h>
> #include <Qsci/qscilexercpp.h>
> 
> int main(int argc, char* argv[])
> {
>     QApplication app(argc, argv);
> 
>     QsciScintilla *qscintilla = new QsciScintilla;
>     qscintilla->setUtf8(true);
> 
>     QsciLexerCPP *lexer = new QsciLexerCPP;
>     lexer->setDefaultFont(QFont("Courier New",10));
> 
>     qscintilla->setLexer(lexer);
> 
>     qscintilla->show();
>     return app.exec();
> }
> 
> - Although, is there a way to get or check out somewhere the old
released
> version of qscintilla?
> 
> Regards.
> Chris.

You could try experimenting with SCI_SETFONTQUALITY. I'm happy to change
the default if it is shown to be incorrect.

Phil


More information about the QScintilla mailing list