Marc Hohl <[email protected]> writes:
> Ok, but in lily/bar-line.cc, Bar_line::compound_barline, the number
> of lines is computed by
>
> int lines = Staff_symbol_referencer::line_count (me)
>
> which is defined as
>
> int
> Staff_symbol_referencer::line_count (Grob *me)
> {
> Grob *st = get_staff_symbol (me);
> return st ? Staff_symbol::line_count (st) : 0;
> }
>
> so the line positions are *not* taken into account, as far as I see.
You don't see far enough.
Staff_symbol::line_count (Grob *me)
{
SCM line_positions = me->get_property ("line-positions");
if (scm_is_pair (line_positions))
return scm_ilength (line_positions);
else
return robust_scm2int (me->get_property ("line-count"), 0);
}
--
David Kastrup
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel