]> git.donarmstrong.com Git - lilypond.git/commitdiff
Small tweak for the alignment of a TrillSpanner.
authorJoe Neeman <joeneeman@gmail.com>
Mon, 25 Feb 2008 08:17:08 +0000 (10:17 +0200)
committerJoe Neeman <joeneeman@gmail.com>
Mon, 25 Feb 2008 08:17:08 +0000 (10:17 +0200)
scm/define-grobs.scm

index 93e4a1ba4cc52b14f0d74bf390d05003aeea35a7..edd5495a336812cb5f7ba803bdf78ed2081f8a05 100644 (file)
                                   (stencil-offset . (-0.5 . 0))
                                   (padding . 1.5)
                                   (attach-dir . ,CENTER)
-                                  (anchor-alignment . ,CENTER)
+                                  ;; this isn't CENTER because the trill glyph's origin
+                                  ;; is not centered in its extent; to have the trill
+                                  ;; spanner aligned the same as a trill, we need a slight offset
+                                  (anchor-alignment . 0.15)
                                   ))
                          (left-broken . ((end-on-note . #t)))
                          (right . ((Y . 0)))