Hi,
I think you should set a monospace font to lexers cppLexer and dLexer. For example (in C++):
font QFont("Monospace");
font.setStyleHint(QFont::Monospace);
cppLexer->setFont(font);
dLexer->setFont(font);
11.12.2015, 10:50, "Shriramana Sharma" <[email protected]>:
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.
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
,
_______________________________________________
QScintilla mailing list
[email protected]
https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
--
Arthur
_______________________________________________ QScintilla mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
