changeset 887:604f1e7be026

did: mini-cleanup
author Sam <sam@basx.dev>
date Sat, 03 Feb 2024 21:40:25 +0700
parents cf4000cc6286
children cbbb9abe256e
files tests/test_font.nim
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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