bug-lilypond
[Top][All Lists]
Advanced

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

Re: Glissando.font-size


From: Malte Meyn
Subject: Re: Glissando.font-size
Date: Sat, 7 Oct 2017 21:26:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0



Am 27.09.2017 um 11:48 schrieb Malte Meyn:
\override-ing Glissando.font-size has an effect. IMO any effect is unexpected here but this particular effect is especially weird.

It seems like this is (partially?) on purpose: The stencil Line_spanner::print from line-spanner.cc scales the padding by something that imitates (magstep font-size). But why? I would understand this when bound-details.left.padding was the distance between bound-details.left.text and the glissando line but it’s the distance outside of the text:

\version "2.19.65"

{
  \override Glissando.bound-details.left.text = "a"
  \override Glissando.bound-details.right.text = "z"
  \override Glissando.bound-details.left.padding = 0
  \override Glissando.bound-details.right.padding = 4
  c''1\glissando c''
}

\version "2.19.65"

{
   c'1\glissando c''
   \override Glissando.font-size = 10
   c'1\glissando c''
}

BTW there’s neither 'shorten-pair/'padding/… nor has 'gap a visible effect.

There is no padding but bound-details.left.padding and bound-details.right.padding.



reply via email to

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