[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bars too close to notes
From: |
Andras Cser |
Subject: |
Re: Bars too close to notes |
Date: |
Wed, 11 Oct 2000 19:39:48 -0700 (PDT) |
Han-Wen,
I have applied the patch to bar.cc but the results are
still the same. The bar after measures 6 and 7 is still
very close and not very nice...
Sorry to bother you and many thanks for your quick
responses.
Cheers,
Andras
--- Han-Wen Nienhuys <address@hidden> wrote:
> address@hidden writes:
> > Hi all,
> >
> > this may be another newbie question. When I compile the
> > attached .ly file, I get the score but measures 6 and 7
> are
> > terminated by a bar too close to the last chords in the
> > measure. I am using lilypond 1.3.94 on Solaris 7 and
> Linux,
>
> try this:
>
> --- bar.cc~ Fri Oct 6 17:06:32 2000
> +++ bar.cc Wed Oct 11 18:06:34 2000
> @@ -7,6 +7,7 @@
> */
> #include <math.h>
>
> +#include "paper-column.hh"
> #include "main.hh"
> #include "dimensions.hh"
> #include "score-element.hh"
> @@ -150,7 +151,19 @@
> if (! gh_equal_p (g, orig))
> me->set_elt_property ("glyph", g);
>
> -
> + /*
> + set a (pseudo) stem-direction, so we get extra space
> between
> + stemup and barline.
> + */
> + Score_element * col = item->column_l ();
> + SCM dirlist = col->get_elt_property ("dir-list");
> + SCM scmdir = gh_int2scm (-1);
> + if (scm_sloppy_memq (scmdir, dirlist) == SCM_EOL)
> + {
> + dirlist = gh_cons (scmdir, dirlist);
> + col->set_elt_property ("dir-list", dirlist);
> + }
> +
> return SCM_UNSPECIFIED;
> }
>
> --
>
> Han-Wen Nienhuys | address@hidden |
> http://www.cs.uu.nl/~hanwen/
>
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/