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 - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

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



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to