lilypond-devel
[Top][All Lists]
Advanced

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

Re: New markup commands: \left-brace & \right-brace.


From: Patrick McCarty
Subject: Re: New markup commands: \left-brace & \right-brace.
Date: Wed, 15 Jul 2009 21:03:22 -0700

On Wed, Jul 15, 2009 at 8:40 PM, <address@hidden> wrote:
>
> http://codereview.appspot.com/8874/diff/2201/3202
> File scm/define-markup-commands.scm (right):
>
> http://codereview.appspot.com/8874/diff/2201/3202#newcode2625
> Line 2625: (find-brace (binary-search 0 575 get-y-from-brace
> scaled-size))
> Would Open_type_font::count () return the value 575 you need here?
>
> I'm not sure, because this function is not used anywhere, and I don't
> understand the Freetype code.
>
> If it does return 575, I would recommend writing and using a callback to
> retrieve this value, named something like "ly:otf-glyph-count".
>
> http://codereview.appspot.com/8874

I need to learn to check these things with GDB before I post.  :-P

Open_type_font::count () is called in
System_start_delimiter::staff_brace (), and it does indeed return the
value 575.

Thanks,
Patrick




reply via email to

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