X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fharp-pedals.scm;h=ce756ddfe22a34a69bc58524092f8a0314712dcb;hb=13da8b2;hp=357618287ae43a2bb550f621364c81685d011029;hpb=2bf520787e5668f22dcf0d5ab3faf74693376d6a;p=lilypond.git diff --git a/scm/harp-pedals.scm b/scm/harp-pedals.scm index 357618287a..ce756ddfe2 100644 --- a/scm/harp-pedals.scm +++ b/scm/harp-pedals.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2008--2011 Reinhold Kainhofer +;;;; Copyright (C) 2008--2012 Reinhold Kainhofer ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -121,10 +121,13 @@ divider) and @code{space-after-divider} (box spacing after the divider). (final-x (car result)) (stencils (cdr result))) ; Add the horizontal line and combine all stencils: - (apply ly:stencil-add - (cons - (make-line-stencil line-width 0 0 final-x 0) - stencils)))) + (box-stencil + (apply ly:stencil-add + (cons + (make-line-stencil line-width 0 0 final-x 0) + stencils)) + 0.0 + 0.0))) ;; Parse the harp pedal definition string into list of directions (-1/0/1), #\o and #\| (define (harp-pedals-parse-string definition-string)