lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1080: Regression: bar lines in double bar are positioned too c


From: Marc Hohl
Subject: Re: Issue 1080: Regression: bar lines in double bar are positioned too close together
Date: Sun, 16 May 2010 20:24:37 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20100317)

Neil Puttock schrieb:
On 16 May 2010 09:35, Marc Hohl <address@hidden> 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 <address@hidden>
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]