lilypond-devel
[Top][All Lists]
Advanced

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

Re: Give slurs skylines in outside-staff-priority calculations. (issue 5


From: Carl Sorensen
Subject: Re: Give slurs skylines in outside-staff-priority calculations. (issue 5504055)
Date: Wed, 28 Dec 2011 12:01:30 +0000



On Dec 28, 2011, at 3:41 AM, "address@hidden" <address@hidden> wrote:

> 
> On Dec 25, 2011, at 10:50 PM, Janek Warchoł wrote:
> 
>> Hi Mike,
>> 
>> (i've come back finally) When i was thinking about LilyPond lately, i
>> decided that changing character outlines from boxes to something more
>> precise was perhaps the most important thing we should improve now -
>> and i see that you are working on this! Great!
>> My (quick) question is: would be easy to apply your solution to other
>> objects?  I know that lyrics and dynamics really need improvement in
>> this area too - see this example: http://www.sendspace.com/file/dm4ua2
>> (source is attached to pdf).
>> 
>> Many thanks!
>> Janek
> 
> Hey Janek,
> 
> Welcome back!
> 
> Vertical skylines are useful for any object whose height changes appreciably 
> over its horizontal span.  Slurs (sometimes) fall into this category.  
> Accidentals fall into this category as well and have been dealt with 
> similarly (I don't know who wrote the code, but there is code in 
> accidental.cc to get a boxed approximation of an accidental's form).
> 
> I am not sure that dynamics and lyrics have subtleties in their shape that 
> could be better approximated by the use of boxes (perhaps dynamics more than 
> lyrics as they are slanted, but I'm dubious of this).
> 
> To fix the problem, it'll be necessary to cook up a few minimal examples 
> showing each problem (ideally with lines that can be commented out to trigger 
> the problem).  Once you have this, we'll be able to find the cause rather 
> quickly.  I suspect that the issue arises from too-generous pure height 
> approximations and/or oddities in inter-staff vertical spacing, so boxes are 
> likely not the solution.
> 

Looking at Janek's examples, there are places where a hairpin could go closer 
to the notes if it didn't have a rectangular skyline the size of the large end. 
There are also places that the lyrics could go closer if the extended used a 
skyline that had its tiny height instead of the character box height. 

Thanks,

Carl




reply via email to

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