summaryrefslogtreecommitdiffstats
path: root/tests/textWind.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-07-23 19:53:03 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-07-23 19:53:03 (GMT)
commitb00f202e7437c114c8c278c65c2ebe18c7bc85f7 (patch)
tree77667a6962435249a8b4d0720245d9d0ff0e6dbf /tests/textWind.test
parentc160fe8bd880807117acc15040f8f4116ec85418 (diff)
downloadtk-b00f202e7437c114c8c278c65c2ebe18c7bc85f7.zip
tk-b00f202e7437c114c8c278c65c2ebe18c7bc85f7.tar.gz
tk-b00f202e7437c114c8c278c65c2ebe18c7bc85f7.tar.bz2
Commit [4c6a42bd] changed the font used in textWind.test for aqua. It appears we can use 'Courier' instead of 'Courier New' on all three platforms with no failure (tested on Windows Vista and Linux Debian 10).
Diffstat (limited to 'tests/textWind.test')
-rw-r--r--tests/textWind.test6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index b453feb..8edd825 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -13,11 +13,7 @@ tcltest::loadTestedCommands
deleteWindows
-if {[tk windowingsystem] eq "aqua"} {
- set fixedFont {"Courier" -12}
-} else {
- set fixedFont {"Courier New" -12}
-}
+set fixedFont {"Courier" -12}
set fixedHeight [font metrics $fixedFont -linespace]
set fixedWidth [font measure $fixedFont m]
set fixedAscent [font metrics $fixedFont -ascent]