[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCHES: 48-hour notice for removing extra naturals and beam bound e
From: |
address@hidden |
Subject: |
Re: PATCHES: 48-hour notice for removing extra naturals and beam bound endpoints |
Date: |
Tue, 21 Jun 2011 23:44:11 +0200 |
On Jun 21, 2011, at 11:16 PM, Han-Wen Nienhuys wrote:
> On Tue, Jun 21, 2011 at 6:19 AM, Graham Percival
> <address@hidden> wrote:
>
>> Attaches bound info to beam for better normalized-endpoint
>> calculations
>> http://codereview.appspot.com/4605047
>
> * How does setting left/right-bound-info achieve anything?
>
> AFAICS, it is only read in line-spanner.cc
>
It is read in spanner.cc (normalized endpoints).
> *
> last_normal_stem (me)->relative_coordinate (commonx, X_AXIS)
> 564 + last_normal_stem (me)->extent (commonx,
> X_AXIS).length ()
>
> this looks wrong; why isn't this
>
> span[RIGHT] = last_normal_stem(me)->extent(X_AXIS)[RIGHT]
>
Will change.
> and why is it asymetric in left/right?
>
> This patch should be split in two (one for the bound-info, one for the
> extent adjustment), and it is lacking a regtest to demonstrate what it
> achieves.
>
Will do.
Cheers,
MS