Path: 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 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