bug-lilypond
[Top][All Lists]
Advanced

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

Wrong placed note-heads while modifiying 'staff-space


From: Thomas Morley
Subject: Wrong placed note-heads while modifiying 'staff-space
Date: Wed, 29 May 2013 01:36:35 +0200

Reported in the german forum
http://www.lilypondforum.de/index.php?topic=1443.0

Adjusting 'staff-space sometimes results in wrongly placed note-heads.

Minimal example:

\version "2.17.17"

{
  \override Score.StaffSymbol #'staff-space = #(magstep -3)
  <g b d'>
}

Some observations:

{
% Minimale adjustment works:
  \override Score.StaffSymbol #'staff-space = #(magstep -3.0000000000001)
  <g b d'>
}

{
% Calculated but too exact (?) value of (magstep -3) doesn't work
  \override Score.StaffSymbol #'staff-space =
#0.70710678118654752440084436210485
  <g b d'>
}

{
% Calculated _and_ rounded value of (magstep -3) works
  \override Score.StaffSymbol #'staff-space = #0.707106781186548
  <g b d'>
}

Other problematic values: -16, -15, -14, -9, -3, 3, 4, 9, 14, 15

Cheers,
  Harm

Attachment: wrong-note-placement.png
Description: PNG image


reply via email to

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