How to disable antialiasing when drawing text
if i create the qapplication like this
QApplication a(argc, argv, true);
for the font font.setStyleStrategy(QFont::NoAntialias); And also close the system antialiasing by editing /etc/fonts/conf.d/10-antialiasing.d then the antialiasing mode is disabled(English words are ok). But if i create a non-Gui qapplication QApplication a(argc, argv, false); then the text is always antialiasing! Because my application is running on a server, i don't want to start X, so can any one help me? my application converts a html to an image, the send to a led. Antialiasing text looks terrible.
You can also disable antialiasting as a [[doc:QPainter]] render hint, I believe.
I tried. It does not work.
[quote author="Andre" date="1322471848"]You can also disable antialiasting as a [[doc:QPainter]] render hint, I believe. [/quote]