From 2e8fb5f667d0f3d61b511c011081e12d69503ef1 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 28 Aug 2014 18:44:11 -0700 Subject: [PATCH] Fix text-line-height --- include/mbgl/text/glyph.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbgl/text/glyph.hpp b/include/mbgl/text/glyph.hpp index 38f9e116a..de7f55bdc 100644 --- a/include/mbgl/text/glyph.hpp +++ b/include/mbgl/text/glyph.hpp @@ -46,12 +46,12 @@ typedef std::map GlyphPositions; class PositionedGlyph { public: - inline explicit PositionedGlyph(uint32_t glyph, uint32_t x, uint32_t y) + inline explicit PositionedGlyph(uint32_t glyph, float x, float y) : glyph(glyph), x(x), y(y) {} uint32_t glyph = 0; - int32_t x = 0; - int32_t y = 0; + float x = 0; + float y = 0; }; typedef std::vector Shaping;