Date: Thu, 03 Oct 1996 03:06:07 -0700 From: Josh MacDonald <jmacd@cs.berkeley.edu> To: rb@gid.co.uk (Bob Bishop) Cc: jmacd@cs.berkeley.edu, freebsd-hackers@freebsd.org Subject: Re: XDrawString Message-ID: <199610031006.DAA05624@paris.CS.Berkeley.EDU> In-Reply-To: Your message of "Thu, 03 Oct 1996 08:38:49 BST." <v01510107ae791ce00fd1@[194.32.164.2]>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610031006.DAA05624>