]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix 549.
authorJoe Neeman <joeneeman@gmail.com>
Sun, 20 Jul 2008 05:02:54 +0000 (15:02 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Sun, 20 Jul 2008 05:02:54 +0000 (15:02 +1000)
The slur-script.ly regression test was made obsolete by vertical
collision avoidance. This modifies slur-script.ly so that it only tests
things that we care about.

input/regression/slur-script.ly

index c9dc97f5eb2c32e9ed696463067f9f42f2bc5fd4..937224496c17ea27016b8aa23d61376f30b83071 100644 (file)
@@ -1,12 +1,9 @@
 
 \header {
 
-  texidoc = "A slur avoids collisions with scripts.  Articulations
-    go inside the slur, dynamic markings go outside the slur.
-    Fingerings and texts are placed either inside or outside.
-
-    For different configurations, the defaults can be changed, and
-    scripts can be moved manually."
+  texidoc = "A slur avoids collisions with scripts, which are placed
+    either inside or outside the slur, depending on the script.  The
+    slur responds appropriately if a script is moved."
 }
 
 \version "2.11.51"
 }
 \relative
 {
-  b4-.( b-. b-.)
-  b(-.  d-.)
-
-  b_1( f'_1_2_3 c_3_4_5 a)
-
-  \override DynamicLineSpanner #'avoid-slur = #'outside
-  b(^"dyn outside" b f'\p b,)
-  
-  %% Do not force dynamics outside slur, only avoid collisions.
-  \override DynamicLineSpanner #'avoid-slur = #'around
-  b(^"dyn around" e\p e\f b)
-  
-  %% Do not avoid collisions.
-  \override DynamicLineSpanner #'avoid-slur = #'()
-  b(^"no avoid" d\p d\f b)
-  
-  c_\markup { \italic {"cresc."}}( c c)
-  \once \override Script #'padding = #1.2
-  b-.( b-.
-  \once \override Script #'padding = #1.2
-  b-.)
-  e='16[-.( f-.)]
+  b4-.( b-.)
+  \once \override Script #'padding = #1.5
+  b-.( b-.)
+  b_\downbow( b_\downbow)
+  \once \override Script #'padding = #1.5
+  b_\downbow( b_\downbow)
 }