X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnon-empty-text.ly;h=2de070a5738bc4b41374eb803347685a679dfd50;hb=dd52a4d47e1b402c1dca7d8e1cc42f41089a69f5;hp=827c4d9c81bc9703fab87d2635cd4d10c76276b4;hpb=eab108e640cdab4c0f434a00921f433137750182;p=lilypond.git diff --git a/input/regression/non-empty-text.ly b/input/regression/non-empty-text.ly index 827c4d9c81..2de070a573 100644 --- a/input/regression/non-empty-text.ly +++ b/input/regression/non-empty-text.ly @@ -1,22 +1,22 @@ -\version "1.3.146" + +\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{ - %% \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 } + +