[Top][All Lists]

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

Re: Big Measures in Large Ensemble

From: Joe Neeman
Subject: Re: Big Measures in Large Ensemble
Date: Mon, 10 Aug 2009 09:48:02 +1000

On Sun, 2009-08-09 at 18:45 +0100, Neil Puttock wrote:
> 2009/8/7 Joe Neeman <address@hidden>:
> > How about just checking for an empty extent, like in the attached patch?
> That's probably the best option, since it should allow users to take
> advantage of setting X-extent for other barline styles.
>                 extract_grob_set (h, "elements", helts);
>                 for (vsize k = helts.size (); k--;)
> -                 if ("" != robust_scm2string (helts[k]->get_property 
> ("glyph-name"), ""))
> +                 // Only non-empty bar lines count.
> +                 if (h->extent (h, X_AXIS).length () > 0)
>                     return false;
> If you're checking the extent of the BreakAlignGroup itself instead of
> its cause (the BarLine), can't you get rid of the grob set `helts'
> here?

If there's a \bar "" and a clef in the same place, then the
BreakAlignGroup will have a non-empty extent, but I think we still want
the column to be loose.


reply via email to

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