Mercurial > games > semicongine
diff tests/test_font.nim @ 802:a9c67e1ecb8d
did: small font improvments
| author | Sam <sam@basx.dev> | 
|---|---|
| date | Fri, 08 Sep 2023 00:34:24 +0700 | 
| parents | d65b62812d34 | 
| children | b83b3a1ccb05 | 
line wrap: on
 line diff
--- a/tests/test_font.nim Fri Sep 08 00:05:19 2023 +0700 +++ b/tests/test_font.nim Fri Sep 08 00:34:24 2023 +0700 @@ -6,7 +6,7 @@ proc main() = var font = loadFont("DejaVuSans.ttf", color=newVec4f(1, 0.5, 0.5, 1), resolution=20) - var textbox = initTextbox(32, font, "".toRunes) + var textbox = initTextbox(32, font, "") var scene = Scene(name: "main") scene.add textbox textbox.mesh.transform = scale(0.01, 0.01)
