From 4c39c436bfdebcf962051ad6ab7b574b33c53df9 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 14 Jun 2022 08:33:02 -0700 Subject: answered an open question The default font seems somehow different than the font created by newFont with just a font size. --- text_tests.lua | 1 - 1 file changed, 1 deletion(-) 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') -- cgit 1.4.1-2-gfad0