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

New issue 1901 by [email protected]: 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


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to