Neil Puttock schrieb:
On 16 May 2010 09:35, Marc Hohl <m...@hohlart.de> wrote:

Now, I have created a patch which
1) restores the former width of the double bar line
2) works properly with the segno sign

\bar ".S|:" is swapped round.  Is this what you want?
Of course not - thanks for the hint!
See the attached patch - I hope everything is fine now.

Thanks,

Marc


From 6c91d16ab775f9bdf4d5c63f8cc4a147889a9075 Mon Sep 17 00:00:00 2001
From: Marc Hohl <m...@hohlart.de>
Date: Fri, 14 May 2010 08:21:03 +0200
Subject: [PATCH] Issue 1080: corrected spacing in double bar lines

---
 lily/bar-line.cc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lily/bar-line.cc b/lily/bar-line.cc
index d3f21e5..a7f9024 100644
--- a/lily/bar-line.cc
+++ b/lily/bar-line.cc
@@ -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")
-- 
1.5.4.3

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to