lilypond-devel
[Top][All Lists]
Advanced

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

Re: lilypond ./ChangeLog lily/dynamic-engraver.cc l...


From: Han-Wen Nienhuys
Subject: Re: lilypond ./ChangeLog lily/dynamic-engraver.cc l...
Date: Mon, 22 May 2006 10:45:33 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060501)

Erlend Aasland schreef:

This change looks a bit weird to me. Should not this padding only be applied if the right part of the hairpin is attached to a barline (and not a note)? That is, something like this:

--- lily/hairpin.cc     16 May 2006 19:00:39 -0000      1.66
+++ lily/hairpin.cc     18 May 2006 06:56:39 -0000
@@ -162,7 +162,11 @@ Hairpin::print (SCM smob)
                    x_points[d] = e.center () - d * padding / 3;
                }
              else
-               x_points[d] = e[d] - d * padding;
+               if (d == RIGHT &&
+ !me->get_bound (RIGHT)->get_column ()->is_musical (me->get_bound (RIGHT)->get_column ()))
+                 x_points[d] = e[d] - d * padding;
+               else
+                 x_points[d] = e[d];
            }
        }
     }


yes, you're right. Thanks for the hint.



--

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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