]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 1080: corrected spacing in double bar lines
authorMarc Hohl <marc@hohlart.de>
Fri, 14 May 2010 06:21:03 +0000 (08:21 +0200)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 16 May 2010 20:23:04 +0000 (21:23 +0100)
lily/bar-line.cc

index d3f21e5350ec0ca0ac1176ba740d781ab0c2ad4c..a7f9024783824ae37d7465b27101e3f6d600ee17 100644 (file)
@@ -199,15 +199,15 @@ Bar_line::compound_barline (Grob *me, string str, Real h,
       m.add_at_edge (X_AXIS, RIGHT, thin, 0);
       m.add_at_edge (X_AXIS, RIGHT, thin, thinkern);
       */
-      m.add_at_edge (X_AXIS, LEFT, thin, thinkern / 2);
-      m.add_at_edge (X_AXIS, RIGHT, thin, thinkern / 2);
+      m.add_at_edge (X_AXIS, LEFT, thin, thinkern);
+      m.add_at_edge (X_AXIS, RIGHT, thin, thinkern);
     }
   else if (str.find ("S") != NPOS || str == "|._.|")
     {
       //  Handle all varsegno stuff
       Stencil segno;
-      segno.add_at_edge (X_AXIS, LEFT, thin, thinkern / 2);
-      segno.add_at_edge (X_AXIS, RIGHT, thin, thinkern / 2);
+      segno.add_at_edge (X_AXIS, LEFT, thin, thinkern);
+      segno.add_at_edge (X_AXIS, RIGHT, thin, thinkern);
       segno.add_stencil (Font_interface::get_default_font (me)->find_by_name ("scripts.varsegno"));
 
       if (str == "S")