gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: Glissando line, follow Staff


From: Jan Nieuwenhuizen
Subject: Re: Glissando line, follow Staff
Date: 06 Feb 2001 09:27:31 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Rune Zedeler <address@hidden> writes:

> I would like an a bit more sophisticated routine for calculating the
> glissando lines.
> Now, the line is just drawn from horisontally right of the first note to
> horisontally left of the last note.
> This is quite ugly especially when the notes are almost above each other
> (sometimes the line is actually drawn backwards, argh). I would rather
> like the line to be a part of the line connecting the CENTRE OF THE NOTE
> HEADS.

Sure, the calculations are in line-spanner.cc, for simple not across
line breaks it's just 6 lines or so, now.

> followStaff is also a bit unintelligent; it should not draw a line if
> the staff switch is already connected by a knee.

That's a known bug now.  This involves more than a bit of work,
there's a comment in the code (note-head-line-engraver.cc)

> By the way: How do you change the staff switch line to dashed?
> I tried

> \property Thread.Glisssando \set #'type = #'dashed-line

Use: Thread.FollowThread \set #'..

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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