bug-lilypond
[Top][All Lists]
Advanced

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

Proposal for tracker: spanner misalignment via context "interference"


From: Trevor Bača
Subject: Proposal for tracker: spanner misalignment via context "interference"
Date: Wed, 13 Feb 2008 12:45:25 -0600

Hi Valentin,

Could you please consider this one for the tracker?


=== BEGIN DESCRIPTION ===


In each of the snippets below, the third spanner displaces considerably too
far to the left. In each case, the left edge of the spanner left-aligns with
the dynamic or markup in the *remote* staff; edge such spanner should
instead left-align with the left edge of its parent notehead only.



%%% EX 1 %%%

\version "2.11.39"

\layout { ragged-right = ##t }

\new StaffGroup <<
   \new Staff {
      \override TextSpanner #'bound-details #'left #'text = "*"
      \override TextSpanner #'dash-period = #1
      c'16 \startTextSpan c'16 c'16 c'16 \stopTextSpan
      c'16 \startTextSpan c'16 c'16 c'16 \stopTextSpan
      c'16 \startTextSpan c'16 c'16 c'16 \stopTextSpan
      c'16 \startTextSpan c'16 c'16 c'16 \stopTextSpan
   }
   \new Staff {
      c'4
      c'4
      \once \override TextScript #'self-alignment-X = #RIGHT
      c'4 _ \markup { "FAT" }
      c'4
   }
>>


%%% END %%%




%%% BEGIN EX 2 %%%

\version "2.11.39"

\layout { ragged-right = ##t }

\new StaffGroup <<
   \new Staff {
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
   }
   \new Staff {
      c'4
      c'4
      \once \override TextScript #'self-alignment-X = #RIGHT
      c'4 _ \markup { "FAT" }
      c'4
   }
>>

%%% END EX 2 %%%




%%% BEGIN EX 3 %%%

\version "2.11.39"

\layout { ragged-right = ##t }

\new StaffGroup <<
   \new Staff {
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
      c'16 \startTrillSpan c'16 c'16 c'16 \stopTrillSpan
   }
   \new Staff {
      c'4
      c'4
      c'4 \ffff
      c'4
   }
>>

%%% END EX 3 %%%



=== END DESCRIPTION ===



If possible, could we consider a somewhat higher priority ranking for this
one? I think maybe there are three good reasons to do so:

a. the problem is very general -- different types of spanner (trill, text),
different types of associated bound object (dynamics, text script) all show
the problem;

b. there doesn't seem to be an easy workaround -- we'd have to know
something like half the width of the associated bound object (in staff
spaces) in order to be able to correct the problem with something like
'extra-offset;

c. one of the biggest chunks of new functionality in 2.11 is the new
spanners package that Han-Wen and I worked on this time last year (that
introduced bound-details, for example, to grant independent control of left
and right spanner details), and this bug damages at least the left-hand part
of that feature package.


Thanks!












-- 
Trevor Bača
address@hidden

Attachment: spanner-alignment-problem-1.png
Description: PNG image

Attachment: spanner-alignment-problem-2.png
Description: PNG image


reply via email to

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