bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1901 in lilypond: Staves with StaffSymbol #'line-count = #1 produc


From: lilypond
Subject: Issue 1901 in lilypond: Staves with StaffSymbol #'line-count = #1 produce "not a number"warnings and wrongly cropped images
Date: Sun, 18 Sep 2011 09:52:45 +0000

Status: Accepted
Owner: ----
Labels: Type-Ugly Regression

New issue 1901 by address@hidden: Staves with StaffSymbol #'line-count = #1 produce "not a number"warnings and wrongly cropped images
http://code.google.com/p/lilypond/issues/detail?id=1901

Reported by Reinhold:

"The attached minimal example sets the staff's StaffSymbol #'line-count = #1 which causes several NaN warnings. Furthermore, the preview image is cropped way too much (apparently only the staff lines and the note heads are taken into account for the height of the image)."

\new Staff \with { \override StaffSymbol #'line-count = #1 }
{
  c''1
}

See attached preview and cropped non-preview images. Seems to have occurred between 2.15.9 and 2.15.10.

Error message:

Drawing systems...
programming error: insane spring min_distance requested, ignoring it
continuing, cross fingers
programming error: Infinity or NaN encountered
continuing, cross fingers
Layout output to `staff-one-line-NaN.ps'...
warning: Found infinity or nan in output. Substituting 0.0
warning: Found infinity or nan in output. Substituting 0.0
Converting to `./staff-one-line-NaN.pdf'...
Layout output to `staff-one-line-NaN.preview.eps'...
warning: Found infinity or nan in output. Substituting 0.0
warning: Found infinity or nan in output. Substituting 0.0



Attachments:
        staff-one-line-NaN.preview.png  524 bytes
        staff-one-line-NaN.png  1.2 KB




reply via email to

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