Fix newline kerning;

--HG--
branch : fix-kerning
This commit is contained in:
bjornbytes
2017-05-19 18:11:46 -06:00
parent 76a7d30f1a
commit 4f855b5ac4
+1
View File
@@ -434,6 +434,7 @@ std::vector<Font::DrawCommand> Font::generateVertices(const ColoredCodepoints &c
// Wrap newline, but do not print it.
dy += floorf(getHeight() * getLineHeight() + 0.5f);
dx = offset.x;
prevglyph = 0;
continue;
}