bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 614 in lilypond: OttavaBracket left edge height not working


From: Matthew
Subject: Re: Issue 614 in lilypond: OttavaBracket left edge height not working
Date: Mon, 12 May 2008 01:37:50 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

 <codesite-noreply <at> google.com> writes:

> 
> Issue 614: OttavaBracket left edge height not working
> http://code.google.com/p/lilypond/issues/detail?id=614
>


I don't know how to write patches for Lilypond, but I'm 96% sure (currently at
work and can't compile) that ottava-bracket.cc can be corrected by replacing
lines 129-138 with:


//I got the values for edge_height from the internals reference
//v2.11/Documentation/user/lilypond-internals/OttavaBracket#OttavaBracket
  Drul_array<Real> edge_height = robust_scm2interval (me->get_property
("edge-height"), Interval (0.0, 1.2));

//This hasn't been touched
  Drul_array<Real> flare = robust_scm2interval (me->get_property
("bracket-flare"), Interval (0, 0));

//iterate over the array rather than just doing RIGHT
  do
    {
      edge_height[d] *= -get_grob_direction (me);

      if (broken[d])
        edge_height[d] = 0.0;
    }
  while (flip (&d) != LEFT);









reply via email to

[Prev in Thread] Current Thread [Next in Thread]