Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1695)

Issue 4654085: First stab at using the left and right bound detail callbacks. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by MikeSol
Modified:
12 years, 9 months ago
Reviewers:
Neil Puttock
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

First stab at using the left and right bound detail callbacks.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -31 lines) Patch
M lily/line-spanner.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M scm/define-grobs.scm View 1 chunk +3 lines, -3 lines 0 comments Download
M scm/output-lib.scm View 1 chunk +36 lines, -25 lines 0 comments Download

Messages

Total messages: 2
MikeSol
>Hah, it also works fine if you use left/right-bound-info (as I >originally suggested. ;) > ...
12 years, 10 months ago (2011-07-03 21:21:51 UTC) #1
Neil Puttock
12 years, 10 months ago (2011-07-03 21:33:06 UTC) #2
On 2011/07/03 21:21:51, MikeSol wrote:
> >Hah, it also works fine if you use left/right-bound-info (as I
> >originally suggested. ;)
> >
> >Cheers,
> >Neil
> 
> Hey Neil,
> 
> I tried to implement your suggestion via the logic in this patch, but it
doesn't
> seem to work (it gets the same result as the current master).  Any pointers?

Two things stick out:

1) You need to prevent calc_bound_info () from generating 'Y if simple-Y is set;

2) Don't set bound-details.  You should return the revised bound-info,
i.e., read the left/right default bound-info, calculate new-Y as before then
acons new-Y to old bound-info.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b