diff --git a/map/information_display.cpp b/map/information_display.cpp index ad27190cb0..5d50c2eaa5 100644 --- a/map/information_display.cpp +++ b/map/information_display.cpp @@ -90,7 +90,7 @@ void InformationDisplay::setRulerParams(unsigned pxMinWidth, double metresMinWid void InformationDisplay::drawRuler(DrawerYG * pDrawer) { yg::FontDesc rulerFont = m_fontDesc; - rulerFont.m_color = yg::Color(0x44, 0x44, 0x44, 0xFF); + rulerFont.m_color = yg::Color(0x44, 0x44, 0x44, 0xD9); m_ruler.setFontDesc(rulerFont); m_ruler.setVisualScale(m_visualScale); @@ -142,7 +142,7 @@ void InformationDisplay::drawCenter(DrawerYG * drawer) params.m_depth = yg::maxDepth; params.m_fontDesc = m_fontDesc; - params.m_fontDesc.m_color = yg::Color(0x44, 0x44, 0x44, 0xFF); + params.m_fontDesc.m_color = yg::Color(0x44, 0x44, 0x44, 0xD9); params.m_log2vis = false; #ifdef OMIM_OS_IPHONE @@ -194,7 +194,7 @@ void InformationDisplay::drawDebugInfo(DrawerYG * drawer) m_yOffset += 20; - m2::PointD pos = m2::PointD(m_displayRect.minX() + 10, m_displayRect.minY() + m_yOffset); + m2::PointD pos = m2::PointD(m_displayRect.minX() + 10, m_displayRect.minY() + m_yOffset + 5 * m_visualScale); drawer->screen()->drawText(m_fontDesc, pos, diff --git a/yg/glyph_style.cpp b/yg/glyph_style.cpp index 821913ee47..81aeeeec98 100644 --- a/yg/glyph_style.cpp +++ b/yg/glyph_style.cpp @@ -71,6 +71,7 @@ namespace yg { gil::get_color(c, gil::alpha_t()) = srcView(x - 2, y - 2) / DATA_TRAITS::channelScaleFactor; v(x, y) = c; + gil::get_color(c, gil::alpha_t()) *= gi->m_color.a / 255.0f; } } }