From fc5028ffa6ac5720ed3c47787a92a761b0d270cf Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Thu, 28 Apr 2011 15:46:20 +0200 Subject: [PATCH] Fix detection of fonts with narrow outline in the distance-field cache. --- .../scenegraph/qsgdistancefieldglyphcache.cpp | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp b/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp index 957632c..c40df75 100644 --- a/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp +++ b/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp @@ -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()); -- 1.7.2.5