Attached the beginning of a workaround.
Note: only left edge of TextSpanner is cared for, the default-stencil is added
as well, red colored and slightly moved (for reference)
Play around with dash-period/fraction to watch (dis-)advantages.
Attachments:
-
[keeep-dash-width-stencil-01.ly](https://sourceforge.net/p/testlilyissues/issues/_discuss/thread/f24505bf3a/b26a/attachment/keeep-dash-width-stencil-01.ly)
(2.5 kB; text/x-lilypond)
---
** [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 10:37 AM 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