Tk Source Code

View Ticket
Login
Ticket UUID: 1847926
Title: case of [font actual] results
Type: Bug Version: obsolete: 8.5b3
Submitter: dgp Created on: 2007-12-10 15:09:36
Subsystem: 46. Unix Fonts Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Open Last Modified: 2007-12-10 15:09:36
Resolution: None Closed By:
    Closed on:
Description:
Some test failures:

==== unixfont-2.6 TkpGetFontFromAttributes: fallback to fixed family FAILED
==== Contents of test case:

    lindex [font actual {-family fixed -size 10}] 1

---- Result was:
Fixed
---- Result should have been (exact matching):
fixed
==== unixfont-2.6 FAILED



==== unixfont-2.8 TkpGetFontFromAttributes: loop over returned font names FAILED
==== Contents of test case:

    lindex [font actual {-family fixed -size 31}] 1

---- Result was:
Fixed
---- Result should have been (exact matching):
fixed
==== unixfont-2.8 FAILED



==== unixfont-2.9 TkpGetFontFromAttributes: reject adobe courier if possible FAILED
==== Contents of test case:

    lindex [font actual {-family courier}] 1

---- Result was:
Courier
---- Result should have been (exact matching):
courier
==== unixfont-2.9 FAILED


If these are indications of some trouble,
then a fix is in order.  If not, then some
custom -match can give the tests the flexibility
they need.