X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnon-empty-text.ly;h=c6e520bd555b2d95f8f7ea4c4f6674806c086d55;hb=8508ea37a36b61030fd17b4ec86259f235872f39;hp=efd1fa5d89f7e97da1d2f808a12fb6c7a8916ee2;hpb=730c54a571ab3b6c30e02be5f93c876abee0f9a7;p=lilypond.git diff --git a/input/regression/non-empty-text.ly b/input/regression/non-empty-text.ly index efd1fa5d89..c6e520bd55 100644 --- a/input/regression/non-empty-text.ly +++ b/input/regression/non-empty-text.ly @@ -1,22 +1,22 @@ - -\version "2.10.0" +\version "2.17.6" \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 +}