From e4677969cb1f50adf4063f4f57bd7e64cb7a4784 Mon Sep 17 00:00:00 2001 From: rachytski Date: Thu, 3 Feb 2011 01:10:27 +0200 Subject: [PATCH] changed minimum text size to 14px for better look. --- map/drawer_yg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/drawer_yg.cpp b/map/drawer_yg.cpp index 1ed8c519f4..156b65dd3a 100644 --- a/map/drawer_yg.cpp +++ b/map/drawer_yg.cpp @@ -161,7 +161,7 @@ uint8_t DrawerYG::get_text_font_size(rule_ptr_t pRule) const uint8_t DrawerYG::get_pathtext_font_size(rule_ptr_t pRule) const { - double const h = pRule->GetTextHeight() * m_scale - 2.0; + double const h = pRule->GetTextHeight() * m_scale; return my::rounds(max(h, min_text_height) * m_visualScale); }