From 2d6f3db6a37fec389c6e7437bba111e7f9ccdee8 Mon Sep 17 00:00:00 2001 From: vng Date: Thu, 7 Mar 2013 13:42:29 +0300 Subject: [PATCH] Do not inflate path text rect to avoid nearest POI's suppression. --- graphics/path_text_element.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/path_text_element.cpp b/graphics/path_text_element.cpp index dc12abc9d9..a2ccb1c571 100644 --- a/graphics/path_text_element.cpp +++ b/graphics/path_text_element.cpp @@ -45,9 +45,9 @@ namespace graphics for (unsigned i = 0; i < m_glyphLayout.boundRects().size(); ++i) m_boundRects.push_back(m_glyphLayout.boundRects()[i]); - for (unsigned i = 0; i < m_boundRects.size(); ++i) - m_boundRects[i] = m2::Inflate(m_boundRects[i], m2::PointD(10, 10)); - // m_boundRects[i].m2::Inflate(m2::PointD(40, 2)); //< to create more sparse street names structure + //for (unsigned i = 0; i < m_boundRects.size(); ++i) + // m_boundRects[i] = m2::Inflate(m_boundRects[i], m2::PointD(10, 10)); + //m_boundRects[i].m2::Inflate(m2::PointD(40, 2)); //< to create more sparse street names structure setIsDirtyRect(false); }