X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fnon-empty-text.ly;h=f4d9e94e3d153485a5f7c4e2ee2d7e67ca075be6;hb=3590aec4a7475d8840383e9c8ab285f92fb808b8;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..f4d9e94e3d 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.12.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''{ + %% \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 } + +