From 80bd033b2f7360b04b24404c60f4e2715faf4f52 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:29:34 +0000 Subject: [PATCH] lilypond-0.0.30 --- src/staffline.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/staffline.cc b/src/staffline.cc index 429874410e..a7fcbbeb01 100644 --- a/src/staffline.cc +++ b/src/staffline.cc @@ -23,14 +23,11 @@ String Line_of_staff::TeXstring() const { String s("%line_of_staff\n"); + s+=make_vbox(height()); // the staff itself: eg lines, accolades s += "\\hbox{"; { - ((PStaff*)pstaff_l_)-> - brew_molecule_p(line_of_score_l_->pscore_l_->paper_l_->linewidth); - - s+=pstaff_l_->stafsym_p_->TeXstring(); iter_top(line_of_score_l_->cols,cc); Real lastpos=cc->hpos; @@ -67,7 +64,6 @@ Line_of_staff::Line_of_staff(Line_of_score * sc, PStaff*st) PCol *linestop = sc->cols.bottom(); for (iter_top(pstaff_l_->spans,i); i.ok(); i++) { - PCol *brokenstart = &max(*linestart, *i->left); PCol *brokenstop = &min(*linestop, *i->right); if ( *brokenstart < *brokenstop) { @@ -82,7 +78,8 @@ Line_of_staff::Line_of_staff(Line_of_score * sc, PStaff*st) Interval Line_of_staff::height() const { - Interval y = pstaff_l_->stafsym_p_->extent().y; + Interval y(0,0); + iter_top(line_of_score_l_->cols,cc); // all items in the current line & staff. @@ -105,7 +102,9 @@ Line_of_staff::height() const void Line_of_staff::process() { +#if 0 if (!pstaff_l_->stafsym_p_) pstaff_l_->brew_molecule_p(line_of_score_l_->pscore_l_-> paper_l_->linewidth); +#endif } -- 2.39.5