]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/non-empty-text.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / non-empty-text.ly
index 41d9c7235a44f443392b1ef354eecd45aa445a05..a3ba0d92a69b0c8877f518c51aaf810892d5e4b5 100644 (file)
@@ -1,22 +1,22 @@
-
-\version "2.7.39"
+\version "2.16.0"
 
 \header{
-  texidoc=" By default, text is set with empty horizontal dimensions.  
-The boolean property @code{no-spacing-rods} in @code{TextScript} is used
-to control the horizontal size of text.  " }
-
-
-\relative c''{
-  %% \emptyText
-  %% short for \override TextScript  #'no-spacing-rods = ##t
-  c2_"very wide and long text" c | \break
-  %% short for \override TextScript  #'no-spacing-rods = ##f
-  \fatText
-  c_"very wide and long text" c
+  texidoc = "By default, text is set with empty horizontal dimensions.
+The property @code{extra-spacing-width} in @code{TextScript} is used
+to control the horizontal size of text."
 }
+
 \layout {
   line-width = 3.0\cm
 }
 
-
+\relative c''{
+  %% \textLengthOff
+  %% short for \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
+  %%           \override TextScript #'extra-spacing-height = #'(0 . 0)
+  c2_"very wide and long text" c | \break
+  %% short for \override TextScript #'extra-spacing-width = #'(0 . 0)
+  %%           \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
+  \textLengthOn
+  c2_"very wide and long text" c
+}