From owner-freebsd-hackers Thu Oct 3 03:06:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA18544 for hackers-outgoing; Thu, 3 Oct 1996 03:06:28 -0700 (PDT) Received: from paris.CS.Berkeley.EDU (paris.CS.Berkeley.EDU [128.32.34.47]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA18538 for ; Thu, 3 Oct 1996 03:06:25 -0700 (PDT) Received: from paris.CS.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by paris.CS.Berkeley.EDU (8.6.11/8.6.9) with ESMTP id DAA05624; Thu, 3 Oct 1996 03:06:08 -0700 From: Josh MacDonald Message-Id: <199610031006.DAA05624@paris.CS.Berkeley.EDU> To: rb@gid.co.uk (Bob Bishop) cc: jmacd@cs.berkeley.edu, freebsd-hackers@freebsd.org Subject: Re: XDrawString In-reply-to: Your message of "Thu, 03 Oct 1996 08:38:49 BST." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5617.844337166.1@paris.CS.Berkeley.EDU> Date: Thu, 03 Oct 1996 03:06:07 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > At 2:48 pm 2/10/96, Terry Lambert wrote: > >> >My results showed that XDrawString on a 2048 character string, > >> >where only 50 or so are on-screen takes much longer than the same > >> >call with only the visible length supplied. > >>[etc] > > > >I personally expect the Xlib to imply a cliprect on the data it sends > >to the X server.[etc] > > If *someone* isn't clipping, then things is surely broke. Trouble is, when > there is clipping the algorithm seems to go exponential if one end of the > draw is in the window and the other is far away. For the case in point, I'd like to see X add character width's up until one run's off the screen, then render the clipped string, then send the clipped rectangle to the server. Well, I'll settle for doing the work myself. -josh