David Kastrup wrote Tuesday, August 28, 2012 5:10 PM

> "Trevor Daniels" <t.dani...@treda.co.uk> writes:
> 
>> While considering how to add a footnotes to TextScript I came across
>> this, which could be intended or a bug.  If the positioning number pair
>> is set to #'(0 . 0) the footnote mark is located in both x and y directions
>> on the centre of the TextScript object, but if the values are set to any
>> non-zero value the offsets are calculated from the top-right corner of the
>> TextScript object.  So to position the mark where it would normally be
>> after text you have to set the values to any tiny non-zero value.
>>
>> It would be better if #'(0 . 0) resulted in the correct positioning for 
>> TextScript.
>
> I don't see what the "correct positioning" would even be in that case:

Well, I would expect a footnote mark on text to be top right by default.
  
> if a coordinate is positive, you go from the upper respectively right
> border, if it is negative, from the lower respectively left border, if
> it is zero, from the center.  That makes _perfect_ sense as long as at
> least one coordinate is non-zero.  If _both_ are zero, how to choose
> among the 8 possible border points?

That's sensible enough, but it needs documenting.  I'll add it to my
list of things to do to document footnotes.

> Picking the center at least is consistent.

Indeed, although not much use.

Trevor
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to