# HG changeset patch # User sam # Date 1734168697 -25200 # Node ID 2edd1f471894a90d20328204aa5792f319d9521d # Parent 77eb59fd855d04c589a3fc927d7ae27e9b7f0cbd autocommit diff -r 77eb59fd855d -r 2edd1f471894 semicongine/text.nim --- a/semicongine/text.nim Sat Dec 14 16:30:46 2024 +0700 +++ b/semicongine/text.nim Sat Dec 14 16:31:37 2024 +0700 @@ -147,7 +147,7 @@ right = -info.leftOffset + info.dimension.x top = font.lineHeight + info.topOffset bottom = font.lineHeight + info.topOffset - info.dimension.y - glyphData.pos[i] = vec4(left, bottom, right, top) * 0.005'f32 + glyphData.pos[i] = vec4(left, bottom, right, top) * 0.01'f32 assert info.uvs[0].x == info.uvs[1].x, "Currently only axis aligned rectangles are allowed for info boxes in font texture maps" assert info.uvs[0].y == info.uvs[3].y,