summaryrefslogtreecommitdiffstats
path: root/tests/textWind.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-07-23 19:53:50 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-07-23 19:53:50 (GMT)
commitbeab8c9eff53ec32029801235a010c0711cad657 (patch)
tree7c5f9f45e7339701d4779d76d96b83bc97851706 /tests/textWind.test
parent707f4e96eca8672368e155309c52690c3b375d15 (diff)
parentb00f202e7437c114c8c278c65c2ebe18c7bc85f7 (diff)
downloadtk-beab8c9eff53ec32029801235a010c0711cad657.zip
tk-beab8c9eff53ec32029801235a010c0711cad657.tar.gz
tk-beab8c9eff53ec32029801235a010c0711cad657.tar.bz2
Commit [22b16031] 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 68b3505..82d3269 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]