🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #2121

StringSize bug

#2121
From: Greg Rogers
Date: Wed, 28 Feb 1990 03:45
11 lines
759 bytes
Here's a bug that has always been in ATK since it first ran on X but that
I keep forgetting about.


fontdesc__StringSize(self, graphic, string, XWidth, YWidth)

When used with X, this method always returns a height (YWidth) of zero.
A better approximation would be to set the height to the maximum height
of a character in the font.

greg rogers
Technical Details
Message-ID: <9002280345.AA04573@bullwinkle.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!bionet!agate!ucbvax!bullwinkle.cs.uiuc.edu!grogers

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!bionet!agate!ucbvax!bullwinkle.cs.uiuc.edu!grogers
From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers)
Newsgroups: comp.soft-sys.andrew
Subject: StringSize bug
Message-ID: <9002280345.AA04573@bullwinkle.cs.uiuc.edu>
Date: 28 Feb 90 03:45:37 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 11