Skip to content
Tcl Source Code View Ticket
Login

View Ticket

font object behave differently as in 8.0

Closed / Invalid218566ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:02:22
OriginalBugID: 1144 Bug
Version: 8.1b1
SubmitDate: '1999-02-02'
LastModified: '1999-03-29'
Severity: SER
Status: Released
Submitter: pat
ChangedBy: stanton
OS: Windows 95
Machine: X86
FixedDate: '1999-03-29'
FixedInVersion: 8.1b3
ClosedDate: '2000-10-25'


Name:
Andy Wilkin

ReproducibleScript:
proc testfont {size} {
font create my_font -family arial  -size $size 
puts [font metrics my_font -ascent]
font delete my_font
}

testfont 20

testfont 10



ObservedBehavior:
it returns the same height for the font, even though I changed the size. 



DesiredBehavior:
this return different size for the font, in 8.0

note: I am using the win32 version




The font system was improperly handling font object lookups when there was only one named font in the system.  03/29/1999 19:15 - stanton -
welch Closed ticket [218566ffff]. [History diff]2000-10-26 08:24:15
dgp Ticket [218566ffff]: 4 changes [History diff]2001-04-17 04:52:42
Log in (anonymous is fine) to add a comment.