From 24c72029d8af27e2a85d695b692d48cc9b4ea467 Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Thu, 1 Aug 2013 15:55:45 +0200 Subject: [PATCH] Fixed distance field text getting clipped at small sizes. Task-number: QTBUG-32750 Change-Id: I6bdf63d3cbcaaeb54c7c1ae25dfc55fc7e964075 Reviewed-by: Gunnar Sletta --- src/quick/scenegraph/qsgdistancefieldglyphnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp b/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp index cc4aa4b..1b10b8b 100644 --- a/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp +++ b/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp @@ -213,7 +213,7 @@ void QSGDistanceFieldGlyphNode::updateGeometry() QVector 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; -- 2.7.4