# HG changeset patch # User sl # Date 1401298315 -7200 # Node ID f0c61338a2e8d9fe3ca7ba6f9bf3a7fae96a035c # Parent b935de604982483fe4bf87a80d323f5ed70333dd Fixing our font rendering issues by rendering into 32bits bitmap. diff -r b935de604982 -r f0c61338a2e8 MiniDisplay/minidisplay.cpp --- a/MiniDisplay/minidisplay.cpp Wed May 28 18:44:15 2014 +0200 +++ b/MiniDisplay/minidisplay.cpp Wed May 28 19:31:55 2014 +0200 @@ -125,7 +125,8 @@ int w=metrics.width(strDemo); int h=metrics.height(); QSize size(w,h); - QImage image(size,QImage::Format_Mono); + //Rendering in mono is quite broken we need RGB32 + QImage image(size,QImage::Format_RGB32); image.fill(0xFFFFFFFF); //Draw some text into our image {