lilypond-user
[Top][All Lists]
Advanced

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

Re: make-dynamic-script shows mysterious aligning behaviour


From: Joe Neeman
Subject: Re: make-dynamic-script shows mysterious aligning behaviour
Date: Sun, 4 Feb 2007 23:09:39 +0200

On 2/2/07, Roland Goretzki <address@hidden> wrote:
Hi at all,

(using version 2.10.14)

make-dynamic-script is a nice feature, but there seems to be a bug, from
which I don't know, wether it is a lilypond bug or a font bug or
something like that:

If You have a crescendoText and then an own dynamic with normal text,
the dynamic will not align exactly with the crescendoText.

To make it more complicated, there is not the same behaviour
for all characters!

In the following I've listed the lower case characters, which show a
different behaviour (
  1. with "?" they are aligned about .4 or .5 staff spaces
     too high,
  2. with "." they are aligned about .1 or .2 staff spaces too low,
  3. and the one with "-" [t] is aligned about only .1 or .2 staff
     spaces too high,
whereas all upper cases seem to align wrong in the same way,
about .1 or .2 staff spaces too low.
):

a b c d e f g h i j k l m n o p q r s t u v w x y z
? . ? . ? . ? . . . . . ? ? ? ? ? ? ? - ? ? ? ? ? ?

With all the work you did in checking the letters, I'm surprised you
didn't see the pattern: the short letters align too high. This is
because lilypond calculates the alignment using the bounding box of
the letters, not the baseline of the glyph. You're right that it
doesn't give good results; this is on my list of things to fix.




reply via email to

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