]> git.donarmstrong.com Git - lilypond.git/commitdiff
Apply optical corrections to tight spacing; issue 1480
authorKeith OHara <k-ohara5a5a@oco.net>
Tue, 23 Aug 2011 05:47:21 +0000 (22:47 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Tue, 23 Aug 2011 05:55:18 +0000 (22:55 -0700)
lily/note-spacing.cc

index 8153af96358c37f99438cfb31fa31eb2d5a21fd2..9a71c00a598b9bee8aa42cf8de12769fb6d0470e 100644 (file)
@@ -304,7 +304,6 @@ Note_spacing::stem_dir_correction (Grob *me, Item *rcolumn,
       if (beams_drul[LEFT] && beams_drul[LEFT] == beams_drul[RIGHT])
         {
           correction = knee_correction (me, stems_drul[RIGHT], increment);
-          *fixed += correction;
         }
       else
         {
@@ -322,6 +321,7 @@ Note_spacing::stem_dir_correction (Grob *me, Item *rcolumn,
            && !acc_right)
     correction = same_direction_correction (me, head_posns);
 
+  *fixed += correction;
   *space += correction;
 
   /* there used to be a correction for bar_xextent () here, but