+2004-11-20 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/bar-line.cc (get_staff_bar_size): add line thickness.
+
2004-11-19 Han-Wen Nienhuys <hanwen@xs4all.nl>
* input/example-[1-3].ly: simplify.
calculation. That's a nonsense value, which would collapse the
barline so we return 0.0 in the next alternative.
*/
- return scm_make_real ((Staff_symbol_referencer::line_count (me) -1) * ss);
+ Real ysize = (Staff_symbol_referencer::line_count (me) -1);
+ ysize = ysize * ss + Staff_symbol_referencer::line_thickness (me);
+ return scm_make_real (ysize);
}
else
return scm_int2num (0);