]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix #175.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Jan 2007 15:48:39 +0000 (16:48 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Jan 2007 15:48:39 +0000 (16:48 +0100)
Set minimum-Y-extent for DynamicTextSpanner

scm/define-grobs.scm

index 138e650eee26301bbbe88043e6210e072a865892..9cdab413243c3bef96dedc496e1a1ee639d81052 100644 (file)
        (font-shape . italic)
        (style . dashed-line)
 
+       ;; make sure the spanner doesn't get too close to notes
+       (minimum-Y-extent . (-1 . 1))
        (bound-details . ((right . ((attach-dir .  ,LEFT)
                                    (Y . 0)
                                    (padding . 0.75)
                                   (padding . 0.5)
                                   ))
                          (left-broken . ((attach-dir .  ,RIGHT)
-                                         
-                                         ;; make sure the - - - stays at reasonable
-                                         ;; distance from staff.
-                                         (text . " ")
                                   ))
                          ))
        (stencil . ,ly:new-line-spanner::print)