Hi Harm, Hi Thomas,

Thomas Morley <[email protected]> writes:
>
> > So far as I can observe the calculations isn't exact: with higher or
> > lower staff-size values it goes increasingly wrong.
> > Did I something wrong while tranforming your calculation into scheme?
>

Looks fine to me.

2013/7/10 David Kastrup <[email protected]>

>
> I think the above is just a curve fitting, not a model of what LilyPond
> actually does.  So it's not surprising it goes wrong for larger/smaller
> values.


Right.

Well as a first step I wanted to find a correcting parameter but it looks
weird.
(see enclosed).
So I think I'm looking into a wrong direction.
Yesterday evening (looking at the beach sunset...)  I was thinking that,
thanks to the stability of the Y-height (4.0) maybe we would find more
acurated figures of the x-length if calculated after the hypotenuse.

\version "2.17.21"
#(set-global-staff-size 20)
\paper {
   ragged-right = ##t
}

% Better viewing
\layout {
        \override Score.RehearsalMark #'color = #red
        \override Score.RehearsalMark #'layer = #10
        %%%% Y-offset is slightly staff-size related
        \override Score.RehearsalMark #'extra-offset = #'(0 . -4.845)
}

{
        R1
        \mark \markup \draw-line #'(0 . 4)
        \override Staff.BarLine.kern = #1
        \bar "||"
        R1
}

{
        R1
        \mark \markup \draw-line #'(0 . 4)
        \override Staff.BarLine.kern = #2
        \bar "||"
        R1
}

{
        R1
        \mark \markup \draw-line #'(0 . 4)
        \override Staff.BarLine.kern = #10
        \bar "||"
        R1
}

{
        R1
        \mark \markup \draw-line #'(0 . 4)
        \override Staff.BarLine.kern = #20
        \bar "||"
        R1
}

{
        R1
        \mark \markup \draw-line #'(0 . 4)
        \override Staff.BarLine.kern = #50
        \bar "||"
        R1
}

I've started some calculation without real success so far.
So here we are.
Any other idea ?

<<attachment: x-length-corr.png>>

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

Reply via email to