X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnon-empty-text.ly;h=c6e520bd555b2d95f8f7ea4c4f6674806c086d55;hb=097cec3ca750c11ca1129034de3a1bb630782c0e;hp=01aac5f3721166311020937c38d1bfb2afe61d1c;hpb=72972afb27cf99f5ae432f4a1463d4f6de6107a0;p=lilypond.git diff --git a/input/regression/non-empty-text.ly b/input/regression/non-empty-text.ly index 01aac5f372..c6e520bd55 100644 --- a/input/regression/non-empty-text.ly +++ b/input/regression/non-empty-text.ly @@ -1,23 +1,22 @@ -\version "1.7.16" +\version "2.17.6" \header{ - texidoc=" -Text is set with empty horizontal dimensions. The boolean property -TextScript.no-spacing-rods 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{ - \notes{ - %% \emptyText - %% short for \property Voice.TextScript \set #'no-spacing-rods = ##t - c2_"very wide and long text" c | \break - %% short for \property Voice.TextScript \set #'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 } -%% new-chords-done %%