diff options
author | Yoann Lopes <yoann.lopes@digia.com> | 2013-08-01 15:55:45 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-01 16:35:48 +0200 |
commit | 24c72029d8af27e2a85d695b692d48cc9b4ea467 (patch) | |
tree | 71a9dd04c9a5e13339022b93a3650012f1b18507 /src | |
parent | 78c325b7c51e6021de643fe791555a1b015948a0 (diff) |
Fixed distance field text getting clipped at small sizes.
Task-number: QTBUG-32750
Change-Id: I6bdf63d3cbcaaeb54c7c1ae25dfc55fc7e964075
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/scenegraph/qsgdistancefieldglyphnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp b/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp index cc4aa4bada..1b10b8b894 100644 --- a/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp +++ b/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp @@ -213,7 +213,7 @@ void QSGDistanceFieldGlyphNode::updateGeometry() QVector<ushort> ip; ip.reserve(indexes.size() * 6); - qreal maxTexMargin = m_glyph_cache->distanceFieldRadius() / 2; + qreal maxTexMargin = m_glyph_cache->distanceFieldRadius(); qreal fontScale = m_glyph_cache->fontScale(fontPixelSize); qreal margin = 2; qreal texMargin = margin / fontScale; |