about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-14 08:33:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-14 08:33:02 -0700
commit4c39c436bfdebcf962051ad6ab7b574b33c53df9 (patch)
tree35b4456fae46df4694ad3a9b3f32774012dc5ec8
parente38bec4f46023990373f32009a77a137cc9ee5b5 (diff)
downloadtext.love-4c39c436bfdebcf962051ad6ab7b574b33c53df9.tar.gz
answered an open question
The default font seems somehow different than the font created by
newFont with just a font size.
-rw-r--r--text_tests.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/text_tests.lua b/text_tests.lua
index 676b139..4fcd584 100644
--- a/text_tests.lua
+++ b/text_tests.lua
@@ -937,7 +937,6 @@ function test_position_cursor_on_recently_edited_wrapping_line()
   Screen_bottom1 = {}
   App.draw()
   local y = Margin_top
-  -- I don't understand why 120px fits so much on a fake screen, but whatever..
   App.screen.check(y, 'abc def ghi ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:1')
   y = y + Line_height
   App.screen.check(y, 'jkl mno pqr ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:2')