Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Fix text-line-height
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Aug 29, 2014
1 parent 9d6c768 commit 2e8fb5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/mbgl/text/glyph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ typedef std::map<uint32_t, Glyph> 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<PositionedGlyph> Shaping;
Expand Down

0 comments on commit 2e8fb5f

Please sign in to comment.