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

Issue 6189048: note-collison.cc: Scale shifts by width of note at left; issue 1713 (Closed)

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

Description

note-collison.cc: Shift based on actual note-extents; issue 1713

Patch Set 1 #

Total comments: 2

Patch Set 2 : first-step: 1713 only #

Total comments: 1

Patch Set 3 : handle breves correctly #

Total comments: 3

Patch Set 4 : more to handle breves #

Patch Set 5 : add breves to regtest #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M input/regression/collision-whole.ly View 1 2 3 4 1 chunk +5 lines, -3 lines 1 comment Download
M lily/note-collision.cc View 1 2 3 4 4 chunks +15 lines, -17 lines 3 comments Download

Messages

Total messages: 7
Keith
http://codereview.appspot.com/6189048/diff/1/lily/note-collision.cc File lily/note-collision.cc (right): http://codereview.appspot.com/6189048/diff/1/lily/note-collision.cc#newcode543 lily/note-collision.cc:543: ->get_property ("stem-nest"), 0.2); adjustable property requested in issue 2192 ...
11 years, 11 months ago (2012-05-06 00:20:16 UTC) #1
Keith
http://codereview.appspot.com/6189048/diff/10001/lily/note-collision.cc File lily/note-collision.cc (right): http://codereview.appspot.com/6189048/diff/10001/lily/note-collision.cc#newcode303 lily/note-collision.cc:303: shift_amount *= (extent_up[RIGHT] - extent_down[LEFT]) / extent_down.length (); For ...
11 years, 11 months ago (2012-05-09 06:02:48 UTC) #2
janek
http://codereview.appspot.com/6189048/diff/10001/lily/note-collision.cc File lily/note-collision.cc (right): http://codereview.appspot.com/6189048/diff/10001/lily/note-collision.cc#newcode301 lily/note-collision.cc:301: of the note heads on the sides that interfere. ...
11 years, 11 months ago (2012-05-11 00:21:54 UTC) #3
Keith
On Thu, 10 May 2012 17:21:54 -0700, <janek.lilypond@gmail.com> wrote: > The interesting thing is that ...
11 years, 11 months ago (2012-05-11 03:46:12 UTC) #4
janek
LGTM I apologize that you had to wait. Thank you for your work!! http://codereview.appspot.com/6189048/diff/9003/input/regression/collision-whole.ly File ...
11 years, 11 months ago (2012-05-15 06:48:09 UTC) #5
Keith
http://codereview.appspot.com/6189048/diff/9003/lily/note-collision.cc File lily/note-collision.cc (right): http://codereview.appspot.com/6189048/diff/9003/lily/note-collision.cc#newcode301 lily/note-collision.cc:301: in calc_positioning_done(), by the width of the downstem note. ...
11 years, 11 months ago (2012-05-15 07:31:09 UTC) #6
janek
11 years, 11 months ago (2012-05-15 17:26:51 UTC) #7
On 2012/05/15 07:31:09, Keith wrote:
> On 2012/05/15 06:48:09, janek wrote:
> > Why don't we get gid of that multiplication?  
> 
> That is my plan.  See Patch Set 1 for a preview.  All note-collision spacing
is
> scaled by the first down-stem note, so each path through the collision code
> needs to use a smarter replacement width, before that multiplication can go.

Ah, i missed it, sorry.  I've also missed the discussion in tracker, but i'm
catching up now.
Good to see that you are dealing with this thoroughly!

thanks,
Janek
Sign in to reply to this message.

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