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

Issue 4898060: Makes sure that ledger lines do not overlap with accidentals. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by MikeSol
Modified:
12 years, 8 months ago
Reviewers:
janek, mikesol, janneke, c_sorensen, hanwenn
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Makes sure that ledger lines do not overlap with accidentals.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Adds regtest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -7 lines) Patch
M Documentation/pictures/architecture-diagram.png View 1 Binary file 0 comments Download
A input/regression/ledger-line-chord.ly View 1 1 chunk +12 lines, -0 lines 0 comments Download
M lily/ledger-line-spanner.cc View 6 chunks +25 lines, -1 line 0 comments Download
M tex/texinfo.tex View 1 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 17
MikeSol
12 years, 8 months ago (2011-08-18 11:03:02 UTC) #1
hanwenn
test missing. On Thu, Aug 18, 2011 at 8:03 AM, <mtsolo@gmail.com> wrote: > Reviewers: , ...
12 years, 8 months ago (2011-08-18 12:10:42 UTC) #2
hanwenn
http://codereview.appspot.com/4898060/diff/1/lily/ledger-line-spanner.cc File lily/ledger-line-spanner.cc (right): http://codereview.appspot.com/4898060/diff/1/lily/ledger-line-spanner.cc#newcode89 lily/ledger-line-spanner.cc:89: continue; can't you check poss.find(max(0, lincount - *it)) ? ...
12 years, 8 months ago (2011-08-18 12:16:50 UTC) #3
MikeSol
I figured not making a regtest just cuz there will already be little changes to ...
12 years, 8 months ago (2011-08-18 12:27:39 UTC) #4
hanwenn
On Thu, Aug 18, 2011 at 9:27 AM, <mtsolo@gmail.com> wrote: > I figured not making ...
12 years, 8 months ago (2011-08-18 12:51:09 UTC) #5
mikesol_ufl.edu
On Aug 18, 2011, at 2:51 PM, Han-Wen Nienhuys wrote: > On Thu, Aug 18, ...
12 years, 8 months ago (2011-08-18 13:08:57 UTC) #6
janek
Hi, i'm very interested in this, i've spotted this problem some time ago. Why is ...
12 years, 8 months ago (2011-08-22 20:43:12 UTC) #7
hanwenn
2011/8/22 Janek Warchoł <janek.lilypond@gmail.com>: > I wholeheartedly disagree, i think that this issue isn't negligible ...
12 years, 8 months ago (2011-08-22 21:33:45 UTC) #8
mikesol_ufl.edu
Hey all, My patch did change output (it prevented duplicate ledger lines), although I did ...
12 years, 8 months ago (2011-08-23 06:59:54 UTC) #9
hanwenn
On Tue, Aug 23, 2011 at 3:59 AM, Mike Solomon <mikesol@ufl.edu> wrote: > \override Staff.Accidental ...
12 years, 8 months ago (2011-08-23 14:03:07 UTC) #10
mikesol_ufl.edu
On Aug 23, 2011, at 4:03 PM, Han-Wen Nienhuys wrote: > On Tue, Aug 23, ...
12 years, 8 months ago (2011-08-23 14:06:00 UTC) #11
hanwenn
On Tue, Aug 23, 2011 at 11:05 AM, Mike Solomon <mikesol@ufl.edu> wrote: >>> >>> Which ...
12 years, 8 months ago (2011-08-23 14:14:48 UTC) #12
janneke_gnu.org
Han-Wen Nienhuys writes: > I think the whole approach of whiting is flawed: what if ...
12 years, 8 months ago (2011-08-23 14:25:02 UTC) #13
janek
2011/8/22 Han-Wen Nienhuys <hanwenn@gmail.com>: > 2011/8/22 Janek Warchoł <janek.lilypond@gmail.com>: >> I wholeheartedly disagree, i think ...
12 years, 8 months ago (2011-08-27 12:37:02 UTC) #14
janek
2011/8/23 Jan Nieuwenhuizen <janneke@gnu.org>: > To pull that to a meta-level: sometimes it makes sense ...
12 years, 8 months ago (2011-08-27 12:38:47 UTC) #15
janneke_gnu.org
Janek Warchoł writes: >> However, almost always it is Much Better (TM) to use the ...
12 years, 8 months ago (2011-08-27 12:45:25 UTC) #16
c_sorensen
12 years, 8 months ago (2011-08-27 12:59:18 UTC) #17
On 8/27/11 6:45 AM, "Jan Nieuwenhuizen" <janneke@gnu.org> wrote:

> Janek Warchoł writes:
> 
>>> However, almost always it is Much Better (TM) to use the benchmarking
>>> approach: find how the great masters solved the situation and program
>>> LilyPond to do that.  Is this documented somewhere, by the way?
>> 
>> Sorry, i don't understand: do you say that we should use layer
>> workaround, don't use it, or something else?
> 
> No, I'm not arguing for a certain technical solution, I'm saying that
> instead of deciding amongst ourselves what solution to implement, it
> would be better to let the great masters decide.  "Just" mimick what
> they did.

But in this case, this is arguing against the layer workaround as a solution
to this problem.  The great masters did not engrave a ledger line, then
engrave an accidental with whiteout.  They engraved a shorter ledger line.
This shorter ledger line had rounded ends.  The whiteout solution gives a
short ledger line, but with square ends.

Thanks,

Carl



Sign in to reply to this message.

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