Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!uupsi!sunic!fuug!demos!news-server From: butenko@bob.srcc.msu.su (Vladimir A. Butenko) Newsgroups: comp.sys.mac.programmer Subject: Bug Report Message-ID: Date: 13 Mar 91 01:56:56 GMT Sender: news-server@jumbo.hq.demos.su Reply-To: butenko@bob.srcc.msu.su Organization: Gamma Software, Moscow State University Lines: 47 Hi everybody! As I promised, I'm sending the next bug confirmed by Apple: ===================== To: MACDTS@AppleLink.Apple.com Sorry, I have to report one more bug (I think). This is a very simple one, so I don't include an example this time. Subect: TextEdit ROUTINE TextBox Condition: There is a simple "optimization" in TextBox routine, I think. When the routine sees that the text can be drawn in one line, it draws the text with DrawText routine, without creating a TextEdit record. Problem: everything is O.K. while the box is tall enough. If the Box height is less then the font height, the text is drawn below the Box (TextBox doesn't create TextEdit record, and doesn't clip the port to the Box itself). Am I right ? ======================= Message-Id: <668800133.3360259@AppleLink.Apple.COM> Subject: RE-Bug Report To: BUTENKO@TWIN.SRCC.MSU.SU From: MACDTS@AppleLink.Apple.COM (Macintosh Developer Tech Supt) Date: 12 Mar 91 17:46 GMT Hello Vladimir, Thank you for sending us the bug report on the TextBox routine. I verified that it is indeed a problem, and sent it to our Bug Reporting Center. The best work around for now is to call ClipRect yourself before calling TextBox, as I'm sure you have already discovered. Best Wishes for your continued success, Gordon Sheridan ========================== I hope it will help somebody somewhere some day... -- Vladimir A. Butenko Internet: Gamma Software, Phone: 7(095)939-2618 Moscow State University Fax: 7(095)938-2136 * === To Gorby-lovers: communists can't reform, but they can pretend! === *