]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/define-grobs.scm
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / 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)))