[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Negative page numbers
From: |
Thomas Morley |
Subject: |
Re: Negative page numbers |
Date: |
Sun, 16 Sep 2018 22:13:05 +0200 |
2018-09-16 21:28 GMT+02:00 Dan Eble <address@hidden>:
>> Real
>> Page_breaking::page_height (int page_num, bool last) const
>> {
>> // The caches allow us to store the page heights for any
>> // non-negative page numbers. We use a negative value in the
>> // cache to signal that that position has not yet been initialized.
>> // This means that we won't cache properly if page_num is negative or
>> // if calc_height returns a negative number. But that's likely to
>> // be rare, so it shouldn't affect performance.
>
> This comment seems to imply that there are legitimate uses for negative page
> numbers. Is anyone willing to agree that I am interpreting it correctly?
>
> Thanks,
> —
> Dan
The only problem with negative page numbers was cured with
https://sourceforge.net/p/testlilyissues/issues/4494/
Not sure whether it's related
Cheers,
Harm