mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Fix newline kerning;
--HG-- branch : fix-kerning
This commit is contained in:
@@ -434,6 +434,7 @@ std::vector<Font::DrawCommand> Font::generateVertices(const ColoredCodepoints &c
|
|||||||
// Wrap newline, but do not print it.
|
// Wrap newline, but do not print it.
|
||||||
dy += floorf(getHeight() * getLineHeight() + 0.5f);
|
dy += floorf(getHeight() * getLineHeight() + 0.5f);
|
||||||
dx = offset.x;
|
dx = offset.x;
|
||||||
|
prevglyph = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user