Re: empty blocks vs. zero-length runs


Subject: Re: empty blocks vs. zero-length runs
From: Paul Cubbage (paul@opencountry.net)
Date: Mon Jun 05 2000 - 16:01:45 CDT


Jesper Skov wrote:
>
> >>>>> "Paul" == Paul Rohr <paul@abisource.com> writes:
>
> Paul> Since you're currently wading through all that code, I'd like to
> Paul> check on a suggestion which has been floating around the back of
> Paul> my brain for quite a while to see what you think. (Ditto for
> Paul> Eric, the original author of much of this code.)
>
> Paul> Could we prevent all this trouble by guaranteeing that *no*
> Paul> level of the layout hierarchy is ever totally empty?

What then? Phony data in levels?

>
> Paul> It seems like the main reason we run into trouble is that
> Paul> various physical layout units (pages, columns, blocks, lines,
> Paul> runs) can sometimes be totally empty. Thus, any attempt to
> Paul> hit-test at that level will fail.

The problem is obviously the "hit test" Isn't it better to fix your
error/empty-set-case handling than mess with all of the layout units?

-- 
Paul Cubbage, CEO	408-353-2164 408-353-8181FAX 408-472-1112cel
Open Country, Inc.      paul@opencountry.net
23450 Old Santa Cruz Hwy.
Los Gatos, CA 95033



This archive was generated by hypermail 2b25 : Mon Jun 05 2000 - 15:58:32 CDT