X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnon-empty-text.ly;h=6e19ca830731d15e87872ba86ed628e18b11b619;hb=e378c1bba8d1db2689fe815c449ace57e234ab17;hp=97fe5a1ed961edbdfb51b122045e6865fefaf1ea;hpb=5956be580d291c1460f1c4b5f6e4a1c3e6549602;p=lilypond.git diff --git a/input/regression/non-empty-text.ly b/input/regression/non-empty-text.ly index 97fe5a1ed9..6e19ca8307 100644 --- a/input/regression/non-empty-text.ly +++ b/input/regression/non-empty-text.ly @@ -1,22 +1,22 @@ - -\version "2.3.16" +\version "2.12.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. " } + 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." +} -\score{ - \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 - } - \paper { - linewidth = 3.0\cm - } +\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 +}