lilypond-devel
[Top][All Lists]
Advanced

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

Re: Proposed patch to modify #'style of line objects


From: Trevor Bača
Subject: Re: Proposed patch to modify #'style of line objects
Date: Thu, 1 Nov 2007 08:02:13 -0500

On 11/1/07, Mats Bengtsson <address@hidden> wrote:
> Hi,
>
> The current mechanism to get solid versus dashed lines in LilyPond has
> been irritating me for several years. We do have the option to set
> both #'style = #'line and #'style = #dashed-line but currently both
> give the same result and you instead have to set #'dash-fraction = #'()
> to get a solid line.
>
> Below, you can find a patch that gives a much more intuitive behavior,
> namely that #'style=#'line gives a solid line whereas #'style=#'dashed-line
> gives ... guess what. This will fix
> http://code.google.com/p/lilypond/issues/detail?id=505
>
> I realize that this might break some existing code and have tried to fix it
> in the regression test files I could find (the example line-arrows.ly in LSR
> has to be updated correspondingly). Also, the current behavior is mentioned
> at one place in the manual, which should be updated in GDP.
>
> Does anybody have any objections or can I submit?
> Maybe I should also add a rule in convert-ly that warns everybody who
> has set
> the dash-fraction property.


FWIW, I find this interface to the dashing syntax *much* preferrable.
Thank you, Mats; I really hope this makes it into the standard
distros.



-- 
Trevor Bača
address@hidden

reply via email to

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