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

Issue 167040043: staff-symbol-referencer: ledger logic; issue 4184

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

Description

staff-symbol-referencer: ledger logic; issue 4184

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M lily/side-position-interface.cc View 1 chunk +2 lines, -3 lines 1 comment Download

Messages

Total messages: 2
lemzwerg
LGTM https://codereview.appspot.com/167040043/diff/1/lily/side-position-interface.cc File lily/side-position-interface.cc (right): https://codereview.appspot.com/167040043/diff/1/lily/side-position-interface.cc#newcode383 lily/side-position-interface.cc:383: /* If we are closer to the staff ...
9 years, 5 months ago (2014-11-02 06:43:34 UTC) #1
Keith
9 years, 5 months ago (2014-11-02 19:04:00 UTC) #2
'notehead' noted.

On Sat, 01 Nov 2014 23:43:34 -0700, <lemzwerg@googlemail.com> wrote:
/* If we are closer to the staff than the notehead,
    quantize for ledger lines. */
> But I wonder whether this is the best description – it's rather about
> note heads and attached grobs having the same direction, right?

Well, if by 'direction' of the notehead you mean its position relative to the
staff, then yes, but he code does not use the word 'direction' for that.

The comment says loosely what case we are trying to catch, and fits either old
or new code.
Matching the code would be "if the Script is above(below) the Head but
below(above) the staff, avoid ledger lines"

Sign in to reply to this message.

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