lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5539 TextSpan


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5539 TextSpanner: left text incorrectly influences dashes
Date: Sun, 21 Jul 2019 05:28:15 -0000

OK, thanks for that! What I can live with is that lilypond automatically (slightly) adjusts the space width between dashes. However, it's a definite no-go for me that lilypond adjusts the length of the dashes, too. This is against all typesetting rules – please remember that in former times the dash was not freely drawn but a glyph with a fixed horizontal extent.

To be more precise, my original problem is not a single TextSpanner but a chain of it. My current (simplified) code is something like

\override TextSpanner.bound-details.left.text = "foo"
e1\startTextSpan
\override TextSpanner.bound-details.left.text = "bar"
e1\stopTextSpan\startTextSpan
\override TextSpanner.bound-details.left.text = "baz"
\override TextSpanner.bound-details.left.right = "umpf"
e1\stopTextSpan

Maybe it makes sense to extend the TextSpanner grob to support this explicitly. Lilypond would then automatically compute the widths of all gaps between the text strings to get a uniform look.


[issues:#5539] TextSpanner: left text incorrectly influences dashes

Status: New
Created: Sat Jul 20, 2019 08:17 AM UTC by Werner LEMBERG
Last Updated: Sat Jul 20, 2019 10:16 PM UTC
Owner: nobody
Attachments:

[git commit 49f41bf1c64ae1e2490571e73a85cbc4b2a9fb27]

\version "2.21.0"

\header { texidoc = "
  For a text spanner, the length of the (left) text element
  must not influence the distance between and the length of
  dashes.

  Here is a counterexample.
" }

\relative c' {
  \override TextSpanner.dash-period = #8
  \override TextSpanner.dash-fraction= #0.1

  \override TextSpanner.bound-details.left.text = "im"
  e1\startTextSpan e1 e1\stopTextSpan

  \override TextSpanner.bound-details.left.text = "immer"
  e1\startTextSpan e1 e1\stopTextSpan
}

Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]