bug-lilypond
[Top][All Lists]
Advanced

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

Re: Rest-dot spacing


From: Keith OHara
Subject: Re: Rest-dot spacing
Date: Sun, 04 Jan 2015 22:05:41 -0800
User-agent: Opera Mail/12.16 (Win32)

On Sun, 04 Jan 2015 11:38:28 -0800, Dan Eble <address@hidden> wrote:

Aha!  Overriding Rest.stencil and changing the style there was insufficient 
because ly::rest::width and other callbacks *bypass* the stencil property, so 
my change of style had not yet been applied when the X-extent was evaluated.  
Lilypond used the X-extent of the default quarter rest instead of the classical 
quarter rest.

So this is a bug, right?  Rest.X-extent etc. should yield the dimensions of 
whatever Rest.stencil will return.


Either a bug or a side-effect of a design choice.  We removed some similar 
special-case treatment of stencils for issue 3749.  Maybe we can do so here as 
well.

It needs a bug report:

%{ Custom Rest stencils do not affect spacing
The dot overlaps the 16th rest with the custom stencil "16".
The X-extent of Rest seems to be independent of the actual stencil. %}
  { r16. r32
    \once\override Rest #'stencil = #ly:text-interface::print
    \override Rest #'text = \markup\lower #0.8 "16"
    r16. r32 r4 r2 }




reply via email to

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