On 2020-01-16 2:09 pm, Paolo Prete wrote:
I'm sorry to say that I made additional tests and the +0.46 method doesn't
seem to work.
You can check here:

%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.45"
{

\override Staff.OttavaBracket.outside-staff-padding = #0
  \ottava #1 f''' f''' f''' \ottava #0 f''

\override Staff.OttavaBracket.outside-staff-padding = #0.56
  \ottava #1 f''' f''' f''' \ottava #0 f''

\override Staff.OttavaBracket.extra-offset = #'(0 . 0.1)
  \ottava #1 f''' f''' f''' \ottava #0 f''

}

%%%%%%%%%%%%%%%%%%%%%

0.56 s exactly the quantity corresponding to extra-offset to 0.1. But if you produce a SVG file, and open it with a text editor, you will see three
pairs of coordinates:

You forgot to \revert outside-staff-padding *before* applying extra-offset.

%%%%
\version "2.19.45"
notes = \fixed c''' { \ottava 1 f4 4 4 \ottava 0 f, }

{
  % Make sure these properties do not influence
  % anything while testing outside-staff-padding.
  \override Staff.OttavaBracket.padding = 0
  \override Staff.OttavaBracket.staff-padding = 0

  \override Staff.OttavaBracket.outside-staff-padding = 0
  \notes

  \override Staff.OttavaBracket.outside-staff-padding = 0.56
  \notes

  \revert Staff.OttavaBracket.outside-staff-padding
  \override Staff.OttavaBracket.extra-offset = #'(0 . 0.1)
  \notes
}
%%%%


-- Aaron Hill

Reply via email to