lilypond-devel
[Top][All Lists]
Advanced

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

[bug] TextSpanner: bad x-offset on zigzag lines


From: Juergen Reuter
Subject: [bug] TextSpanner: bad x-offset on zigzag lines
Date: Thu, 16 Sep 2004 23:26:31 +0200 (CEST)

Hi!

The following code:



startTextSpanner = #(make-span-event 'TextSpanEvent START)
stopTextSpanner = #(make-span-event 'TextSpanEvent STOP)

\score {
  \context Voice \transpose c c' {
    f a c' bes a g f g f
    \startTextSpanner
    g a bes
    \stopTextSpanner
    a g f f
  }
  \paper {
    \context {
        \Voice
        \override TextSpanner #'style = #'zigzag
        \override TextSpanner #'edge-height = #'(0 . 0)
        \override TextSpanner #'padding = #0.5
        \override TextSpanner #'enclose-bounds = #1
        \override TextSpanner #'edge-text = #'("abc" . "def")
    }
  }
}



produces a zig-zag line that is aligned with the left border of the page 
(see attachment).  I would expect the zig-zag line to appear between the 
"abc" and "def".

Furthermore, if I replace "zigzag" with "line", I do not get a solid line, 
but a dashed line.

Greetings,
Jürgen

Attachment: linebug.pdf
Description: Adobe PDF document


reply via email to

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