aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2011-04-28 15:46:20 +0200
committerYoann Lopes <yoann.lopes@nokia.com>2011-04-28 15:46:20 +0200
commitfc5028ffa6ac5720ed3c47787a92a761b0d270cf (patch)
tree18403c691cf8438b4b8502be3f60bdceddfbbb20
parent3904e604f453b43b2a0e45a882283e26a27eaa18 (diff)
Fix detection of fonts with narrow outline in the distance-field cache.
-rw-r--r--src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp b/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp
index 957632c46f..c40df75084 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());