lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Markup commands \left-brace and \right-brace


From: Mats Bengtsson
Subject: Re: [PATCH] Markup commands \left-brace and \right-brace
Date: Fri, 24 Apr 2009 10:54:45 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

I haven't looked at your patch or the implementation, but suddenly remembered about http://lists.gnu.org/archive/html/lilypond-devel/2008-11/msg00405.html
which seems to indicate that a binary search was already done.

   /Mats

Neil Puttock wrote:
Hi,

Please review this patch here:

http://codereview.appspot.com/8874/show

I've revised the \left-brace command extensively so it uses a binary
search to find the closest matching fetaBrace.

You might notice that the braces produced are slightly smaller than
the equivalent SystemStartBrace grobs for the same point size, but
this is due to the fact that the StaffSymbol is widened by half a
thickness in ly:staff-symbol::height. For a standard 20 point stave,
this results in a selection of brace101 instead of the exact 20 pt
brace, brace97.

Regards,
Neil


_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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