[QScintilla] Display issue on windows

christophe duvernois christophe.duvernois at gmail.com
Thu Apr 7 18:29:54 BST 2011


This is working setting the font quality to SC_EFF_QUALITY_NON_ANTIALIASED (
= 1) instead of SC_EFF_QUALITY_DEFAULT (= 0 ) .
I have now the same render (on windows) as with 2.4.x !

Thanks!

Chris.

2011/4/7 Phil Thompson <phil at riverbankcomputing.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20110407/461ad01b/attachment.html>


More information about the QScintilla mailing list