X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnon-empty-text.ly;h=2de070a5738bc4b41374eb803347685a679dfd50;hb=dc9f32df583b0931f0e946b9a7d13dd4983d4701;hp=71bc0debe9299551456d1761e3bd1bc6ed032051;hpb=d6ea2dbcdb39dd65c7fd423782fa31ccbdaf34a9;p=lilypond.git diff --git a/input/regression/non-empty-text.ly b/input/regression/non-empty-text.ly index 71bc0debe9..2de070a573 100644 --- a/input/regression/non-empty-text.ly +++ b/input/regression/non-empty-text.ly @@ -1,24 +1,22 @@ -\version "1.9.1" +\version "2.11.51" \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 boolean property @code{no-spacing-rods} in @code{TextScript} is used +to control the horizontal size of text. " } + +\layout { + line-width = 3.0\cm } -\score{ - \notes\relative c''{ - %% \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 - } +\relative c''{ + %% \textLengthOff + %% short for \override TextScript #'no-spacing-rods = ##t + c2_"very wide and long text" c | \break + %% short for \override TextScript #'no-spacing-rods = ##f + \textLengthOn + c_"very wide and long text" c } +