CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/10/01 22:57:16

Modified files:
        .              : ChangeLog 
        lily           : tuplet-bracket.cc 

Log message:
        (after_line_breaking): suicide empty
        tuplet bracket.
        (print): only connect to next bracket if the next one is alive.
        (print): set padding to 0.0 if the bound is a breakable
        column. This makes tupletFullLength brackets reach up to the staff
        line if it doesn't connect to the next line.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.4145&tr2=1.4146&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/tuplet-bracket.cc.diff?tr1=1.107&tr2=1.108&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.4145 lilypond/ChangeLog:1.4146
--- lilypond/ChangeLog:1.4145   Sat Oct  1 22:52:37 2005
+++ lilypond/ChangeLog  Sat Oct  1 22:57:16 2005
@@ -3,6 +3,9 @@
        * lily/tuplet-bracket.cc (after_line_breaking): suicide empty
        tuplet bracket.
        (print): only connect to next bracket if the next one is alive.
+       (print): set padding to 0.0 if the bound is a breakable
+       column. This makes tupletFullLength brackets reach up to the staff
+       line if it doesn't connect to the next line.
 
 2005-09-30  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
 
Index: lilypond/lily/tuplet-bracket.cc
diff -u lilypond/lily/tuplet-bracket.cc:1.107 
lilypond/lily/tuplet-bracket.cc:1.108
--- lilypond/lily/tuplet-bracket.cc:1.107       Sat Oct  1 22:52:38 2005
+++ lilypond/lily/tuplet-bracket.cc     Sat Oct  1 22:57:16 2005
@@ -209,7 +209,12 @@
          /*
            TODO: make padding tunable?
          */
-         x_span[d] = robust_relative_extent (bounds[d], commonx, X_AXIS) 
[LEFT] - 1.0;
+         Real padding = 1.0;
+
+         if (bounds[d]->break_status_dir ())
+           padding = 0.0;
+         
+         x_span[d] = robust_relative_extent (bounds[d], commonx, X_AXIS) 
[LEFT] - padding;
        }
     }
   while (flip (&d) != LEFT);


_______________________________________________
Lilypond-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to