bug-lilypond
[Top][All Lists]
Advanced

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

bug with combination of \glissando, \bar "", dotted whole note and \time


From: Thomas Morley
Subject: bug with combination of \glissando, \bar "", dotted whole note and \time 4/4
Date: Tue, 13 Jan 2015 22:53:41 +0100

Hi,

the following code returns weird output (png attached) and an error is printed:
"programming error: Loose column does not have right side to attach to".

\version "2.19.15"

\layout {
  \context {
    \Score
    defaultBarType = #""
  }
}

<<
  %% first Staff is not needed to trigger the error
  %% The result is more spectacular, though
  \new Staff { f'1\glissando f' }
  \new Staff { f'1.\glissando f' }
>>

It was introduced somewhere between 2.12.3 (no error, pdf ok) and 2.14.2

At first I thought it's because the stencil for \bar "" has '(0 . 0)
as extent in X-direction. Though, redefining an empty barline, using
another glyph, but keeping the original procedure works (obviously a
workaround):

\version "2.19.15"

#(add-bar-glyph-print-procedure "x" (@@ (lily) make-empty-bar-line))
#(define-bar-line "x" "x" "x" #f)

\layout {
  \context {
    \Score
    defaultBarType = #"x"
  }
}

<<
  \new Staff { f'1\glissando f' }
  \new Staff { f'1.\glissando f' }
>>

I guess somewhere in our source is a test for the _glyph_ "", and if
true, weird things happen.
No idea where to look for it, though.


Cheers,
  Harm

Attachment: gliss-bug.png
Description: PNG image


reply via email to

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