lilypond-devel
[Top][All Lists]
Advanced

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

Re: Using \lookup to extract glyphs


From: Neil Puttock
Subject: Re: Using \lookup to extract glyphs
Date: Sat, 29 Nov 2008 20:07:29 +0000

2008/11/28 Mats Bengtsson <address@hidden>:
>
>
> Mats Bengtsson wrote:
>
> Now that I've looked a bit more careful, I see that the total height of
> braceN is given by
> 10.5*(1+1/150)^N
> so in other words, if the desired height is H, you can get the number of the
> corresponding
> brace glyph by
> (round (/ (log (/ H 10.5)) (log (+ 1 (/ 1 150)))))

Thanks for working this out, Mats.

How about a middle way, where we have a function to convert from
points -> brace number?  Then it's up to the user whether they want
direct access to a specific glyph, or conversion from points.

Regards,
Neil




reply via email to

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