Mercurial > games > semicongine
diff tests/test_font.nim @ 426:1e3c242435af
did: mini-cleanup
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 03 Feb 2024 21:40:25 +0700 |
parents | a03b6db25282 |
children | b1c9374c7080 |
line wrap: on
line diff
--- a/tests/test_font.nim Sat Feb 03 21:38:34 2024 +0700 +++ b/tests/test_font.nim Sat Feb 03 21:40:25 2024 +0700 @@ -10,7 +10,6 @@ # build scene var scene = Scene(name: "main") - # var font = loadFont("DejaVuSans.ttf", lineHeightPixels=90'f32, charset="abcdefghijklmnopqrstuvwxyz ".toRunes) var font = loadFont("DejaVuSans.ttf", lineHeightPixels = 210'f32) var main_text = font.initText("", maxLen = 255, color = newVec4f(1, 0.15, 0.15, 1), scale = 0.0005, maxWidth = 1.0) var help_text = font.initText("""Controls