PDA

View Full Version : Displaying Text on Black and White Screen



Stobie
6th December 2009, 22:21
Hi
The screen I'm displaying on is Black and White only, ie no shades of grey can be produced. My problem is that Qt renders text with shades of grey in it which becomes unreadable on my screen. Is there a way to make text one bit per pixel or purely black and white? thanks

axeljaeger
7th December 2009, 13:38
Although I cannot give a precise answer, the right term what you want to do is to disable "font anti aliasing".

Search for that.

Stobie
7th December 2009, 20:02
Thanks but anti aliasing is already disabled.

axeljaeger
7th December 2009, 21:36
why are you so sure?

Stobie
8th December 2009, 01:03
font1.setStyleStrategy ( QFont::NoAntialias );
I already had this line.