diff options
author | Darafei Praliaskouski <komzpa@gmail.com> | 2013-01-22 21:05:24 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:49:07 +0300 |
commit | 92ecb5fd773334d12179e1806878a0563b503a34 (patch) | |
tree | 1add9276f9d756ea23bb1f1f910136361369c115 | |
parent | 2c9335038da4c18733a7f015d5de5668bf73f169 (diff) |
scaling of offset on retina
-rw-r--r-- | map/proto_to_styles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/proto_to_styles.cpp b/map/proto_to_styles.cpp index 0584c69c90..ffff546776 100644 --- a/map/proto_to_styles.cpp +++ b/map/proto_to_styles.cpp @@ -127,9 +127,9 @@ void ConvertStyle(CaptionDefProto const * pSrc, double scale, graphics::FontDesc offset = m2::PointD(0,0); if (pSrc->has_offset_x()) - offset.x = pSrc->offset_x(); + offset.x = scale * pSrc->offset_x(); if (pSrc->has_offset_y()) - offset.y = pSrc->offset_y(); + offset.y = scale * pSrc->offset_y(); dest = graphics::FontDesc(h, ConvertColor(pSrc->color())); |