Am 22.06.2012 11:33, schrieb David Kastrup:
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);
}

Ah, sorry - thanks for clarification!

Regards,

Marc


_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to