summaryrefslogtreecommitdiffstats
path: root/tests/font.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-03-02 23:52:55 (GMT)
committerhobbs <hobbs>2000-03-02 23:52:55 (GMT)
commitb93159911b0f165035cde37eb6cc152e758f12f9 (patch)
tree29e823688f48198490f26d021a0de72b58d2e65d /tests/font.test
parent9e115e8e9969916fbac1c83d9db2b2b773927f30 (diff)
downloadtk-b93159911b0f165035cde37eb6cc152e758f12f9.zip
tk-b93159911b0f165035cde37eb6cc152e758f12f9.tar.gz
tk-b93159911b0f165035cde37eb6cc152e758f12f9.tar.bz2
* tests/color.test:
* xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
Diffstat (limited to 'tests/font.test')
-rw-r--r--tests/font.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/font.test b/tests/font.test
index edc0094..8f9ca8d 100644
--- a/tests/font.test
+++ b/tests/font.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: font.test,v 1.5 1999/12/14 06:53:13 hobbs Exp $
+# RCS: @(#) $Id: font.test,v 1.6 2000/03/02 23:52:56 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -1357,6 +1357,7 @@ test font-45.3 {TkFontGetAliasList: match} {pcOnly} {
font actual {times 10} -family
} {Times New Roman}
test font-45.4 {TkFontGetAliasList: match} {unixOnly noExceed} {
+ # can fail on Unix systems that have a real "times new roman" font
font actual {{times new roman} 10} -family
} [font actual {times 10} -family]