diff options
author | dgp@users.sourceforge.net <dgp> | 2015-01-07 20:30:13 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2015-01-07 20:30:13 (GMT) |
commit | 3c37fdaa4221a9cd947e3e2487a29e41c8b43be4 (patch) | |
tree | 2d69e1e7b5c1ce8390359de54c69295d7a038435 /tests/canvText.test | |
parent | 6463c2c51887af62f6b7aeecd5aef8944a823378 (diff) | |
download | tk-3c37fdaa4221a9cd947e3e2487a29e41c8b43be4.zip tk-3c37fdaa4221a9cd947e3e2487a29e41c8b43be4.tar.gz tk-3c37fdaa4221a9cd947e3e2487a29e41c8b43be4.tar.bz2 |
Reduce font-related porting fragility of test.
Diffstat (limited to 'tests/canvText.test')
-rw-r--r-- | tests/canvText.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/canvText.test b/tests/canvText.test index 20a39b0..7eef938 100644 --- a/tests/canvText.test +++ b/tests/canvText.test @@ -485,8 +485,8 @@ test canvText-17.1 {TextToPostscript procedure} { .c itemconfig test -font $font -text "00000000" -width [expr 3*$ax] .c itemconfig test -anchor n -fill black set x [.c postscript] - set x [string range $x [string first "/Courier-Oblique" $x] end] -} "/Courier-Oblique findfont [font actual $font -size] scalefont ISOEncode setfont + set x [string range $x [string first "findfont " $x] end] +} "findfont [font actual $font -size] scalefont ISOEncode setfont 0.000 0.000 0.000 setrgbcolor AdjustColor 100 200 \[ \[(000)\] |