diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2011-04-28 15:46:20 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2011-04-28 15:46:20 +0200 |
commit | fc5028ffa6ac5720ed3c47787a92a761b0d270cf (patch) | |
tree | 18403c691cf8438b4b8502be3f60bdceddfbbb20 | |
parent | 3904e604f453b43b2a0e45a882283e26a27eaa18 (diff) |
Fix detection of fonts with narrow outline in the distance-field cache.
-rw-r--r-- | src/declarative/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 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()); |