X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnon-empty-text.ly;h=82256aac1899a49edac0097d279fddfc856e4418;hb=1cc558e2d73d4133deb8044ca29c87e570f65a69;hp=43c81652d8c176354ead6c51d3df0b969b9011a6;hpb=ce1ca7d20617d7ba113d975468feff9baa419b90;p=lilypond.git diff --git a/input/regression/non-empty-text.ly b/input/regression/non-empty-text.ly index 43c81652d8..82256aac18 100644 --- a/input/regression/non-empty-text.ly +++ b/input/regression/non-empty-text.ly @@ -1,18 +1,22 @@ -\version "1.3.146" + +\version "2.10.0" \header{ -texidoc=" -Text is set with empty horizontal dimensions. The boolean property -textNonEmpty is used to respect the horizontal size of text. -" -} -\score { \notes { -c2_"very wide and long text" c | \break -\fatText % short for \property Voice.textNonEmpty = ##t -c_"very wide and long text" c + 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 } -\paper { - linewidth = 3.\cm - } +\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 } + +