Results 1 to 5 of 5

Thread: Displaying Text on Black and White Screen

  1. #1
    Join Date
    Dec 2009
    Posts
    16
    Thanks
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Displaying Text on Black and White Screen

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Displaying Text on Black and White Screen

    Although I cannot give a precise answer, the right term what you want to do is to disable "font anti aliasing".

    Search for that.
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Dec 2009
    Posts
    16
    Thanks
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Displaying Text on Black and White Screen

    Thanks but anti aliasing is already disabled.

  4. #4
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Displaying Text on Black and White Screen

    why are you so sure?
    It's nice to be important but it's more important to be nice.

  5. #5
    Join Date
    Dec 2009
    Posts
    16
    Thanks
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Displaying Text on Black and White Screen

    font1.setStyleStrategy ( QFont::NoAntialias );
    I already had this line.

Similar Threads

  1. Printing plot black & white
    By maybe78 in forum Qwt
    Replies: 4
    Last Post: 9th October 2009, 07:39

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.