You are right, there were typos in my example. Sorry for that. Here is
something updated, together with an image.
~~~~
\paper {
indent = 0\cm
ragged-right = ##f
line-width = 16\cm
}
\relative c' {
\override TextSpanner.dash-fraction = #0.1
\override TextSpanner.dash-period = #8
\override TextSpanner.bound-details.left.padding = #1
\override TextSpanner.bound-details.left.text = "foo"
e1\startTextSpan |
\override TextSpanner.bound-details.left.text = "bar"
e8\stopTextSpan\startTextSpan e e e e e e e |
\override TextSpanner.bound-details.left.text = "baz"
\override TextSpanner.bound-details.right.text = "umpf"
e4\stopTextSpan\startTextSpan e e e |
e1\stopTextSpan
}
~~~~
I would like to enter this as something like
~~~~
\relative c' {
\override TextSpanner.dash-fraction = #0.1 % fixed
\override TextSpanner.dash-period = #8 % a hint for LilyPond
\override TextSpanner.text = #'("foo" "bar" "baz" "umpf")
e1\startTextSpan |
e8 e e e e e e e |
e4 e e e |
e1\stopTextSpan
}
~~~~
and let LilyPond find out a good value for `dash-period` (based on the
suggested value) that looks nice for all sub-spanners.
Attachments:
-
[continuous-spanner.png](https://sourceforge.net/p/testlilyissues/issues/_discuss/thread/f24505bf3a/77a4/attachment/continuous-spanner.png)
(6.2 kB; image/png)
---
** [issues:#5539] TextSpanner: left text incorrectly influences dashes**
**Status:** New
**Created:** Sat Jul 20, 2019 08:17 AM UTC by Werner LEMBERG
**Last Updated:** Sun Jul 21, 2019 12:41 PM UTC
**Owner:** nobody
**Attachments:**
-
[text-spanner-wrong-dash-spacing.png](https://sourceforge.net/p/testlilyissues/issues/5539/attachment/text-spanner-wrong-dash-spacing.png)
(4.6 kB; image/png)
[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 [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto