]> git.donarmstrong.com Git - lilypond.git/commitdiff
Correct left text alignment of DynamicTextSpanner.
authorNeil Puttock <n.puttock@gmail.com>
Fri, 12 Sep 2008 20:34:15 +0000 (21:34 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Fri, 12 Sep 2008 20:34:15 +0000 (21:34 +0100)
input/regression/dynamic-text-alignment.ly [new file with mode: 0644]
scm/define-grobs.scm

diff --git a/input/regression/dynamic-text-alignment.ly b/input/regression/dynamic-text-alignment.ly
new file mode 100644 (file)
index 0000000..079defb
--- /dev/null
@@ -0,0 +1,15 @@
+\version "2.11.58"
+
+\header {
+  texidoc = "The left bound text of dynamic text spanners is
+horizontally aligned with the left edge of a note column."
+}
+
+\relative c'' {
+  \crescTextCresc
+  c1\<
+  e2 f\!
+  \dimTextDecresc
+  e2\> d
+  c b\!
+}
index 975d42582ffbd2544bcba886724cbe5dbf63f8f3..4e3f595dea91aab50e9b5c972892883aed683540 100644 (file)
                          
                          (left . ((attach-dir .  ,LEFT)
                                   (Y . 0)
-                                  (stencil-offset . (0 . -0.5))
-                                  (padding . 0.5)
+                                  (stencil-offset . (-0.75 . -0.5))
+                                  (padding . 0.75)
                                   ))
                          (left-broken . ((attach-dir .  ,RIGHT)
                                   ))