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

Issue 7516048: Removes kludges in stencil-based skyline code. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by MikeSol
Modified:
11 years, 1 month ago
Reviewers:
Keith, janek, mike7
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

We used to create infinite skylines for certain corner cases like SystemStartBrackets (horizontal) and BassFigurePositioning (vertical). We no longer do this by making all SystemStartX cross-staff, which makes their horizontal skylines extend infinitely in either direction. This is conceptually what we want, as we don't want them slipping to the right of any objects, and as we can't estimate their actual height until way downstream, this doesn't sacrifice any spacing precision. For BassFigurePositioning, we just give X-extents to BassFigureAlignment and BassFigureLine as well as BassFigurePositioning using ly:axis-group-interface::width. This way, correct skyline positioning kicks in.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Response to Keith's comments #

Patch Set 3 : Removes evil code from C++, replaces with happy defaults in Scheme #

Patch Set 4 : Adds comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -17 lines) Patch
M lily/side-position-interface.cc View 1 chunk +0 lines, -7 lines 1 comment Download
M lily/stencil-integral.cc View 1 2 3 4 chunks +6 lines, -10 lines 0 comments Download
M scm/define-grobs.scm View 1 2 7 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Keith
good enough https://codereview.appspot.com/7516048/diff/1/scm/define-grobs.scm File scm/define-grobs.scm (right): https://codereview.appspot.com/7516048/diff/1/scm/define-grobs.scm#newcode312 scm/define-grobs.scm:312: (vertical-skylines . ,grob::simple-vertical-skylines-from-y-extent) I'm confused, because the ...
11 years, 1 month ago (2013-03-16 03:26:58 UTC) #1
mike7
On 16 mars 2013, at 04:26, k-ohara5a5a@oco.net wrote: > good enough > > > https://codereview.appspot.com/7516048/diff/1/scm/define-grobs.scm ...
11 years, 1 month ago (2013-03-16 07:36:38 UTC) #2
MikeSol
Response to Keith's comments
11 years, 1 month ago (2013-03-16 08:00:04 UTC) #3
MikeSol
Removes evil code from C++, replaces with happy defaults in Scheme
11 years, 1 month ago (2013-03-17 08:01:45 UTC) #4
janek
Mike, i've read the patch 3 times and i don't understand how it solves the ...
11 years, 1 month ago (2013-03-19 11:49:12 UTC) #5
MikeSol
Adds comments
11 years, 1 month ago (2013-03-19 14:39:40 UTC) #6
mike7
On 19 mars 2013, at 12:49, janek.lilypond@gmail.com wrote: > Mike, > > i've read the ...
11 years, 1 month ago (2013-03-19 14:41:01 UTC) #7
janek
LGTM :)
11 years, 1 month ago (2013-03-19 21:57:10 UTC) #8
Keith
11 years, 1 month ago (2013-03-30 04:52:12 UTC) #9
Message was sent while issue was closed.
https://codereview.appspot.com/7516048/diff/13001/lily/side-position-interfac...
File lily/side-position-interface.cc (left):

https://codereview.appspot.com/7516048/diff/13001/lily/side-position-interfac...
lily/side-position-interface.cc:317: // this seems kinda kludgy, as there is no
apparent logic to it
Probably not so kludgy if we requested staff-padding on something placed in a
Dynamics context.

I suggest that in  if (include_staff) {} above we make staff_extents at least
the interval (0 . 0)
Sign in to reply to this message.

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