Fix detection of fonts with narrow outline in the distance-field cache.
authorYoann Lopes <yoann.lopes@nokia.com>
Thu, 28 Apr 2011 13:46:20 +0000 (15:46 +0200)
committerYoann Lopes <yoann.lopes@nokia.com>
Thu, 28 Apr 2011 13:46:20 +0000 (15:46 +0200)
src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp

index 957632c..c40df75 100644 (file)
@@ -481,7 +481,6 @@ static void convert_to_Format_Alpha(QImage *image)
 
 static bool fontHasNarrowOutlines(const QRawFont &f)
 {
-    return true;
     QRawFont font = f;
     font.setPixelSize(QT_DISTANCEFIELD_DEFAULT_BASEFONTSIZE);
     Q_ASSERT(font.isValid());