lilypond-user
[Top][All Lists]
Advanced

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

Re: Behaviour of TextSpanner dashes


From: Keith OHara
Subject: Re: Behaviour of TextSpanner dashes
Date: Thu, 6 Feb 2014 03:49:09 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

At 15:24 on 05 Feb 2014, Urs Liska wrote:
>>>    - the vertical position of the dashes (i.e. raise
>>>      it a little bit relatively to the text)
>>
>> TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
>
>unfortunately doesn't help. I'd need something like raise the dashes
>by 0.2 ...

Kieren MacMillan <kieren_macmillan <at> sympatico.ca> writes:

> > Surprisingly it looks different with different texts.
> 
> Another side-effect of the [irritating] fact that Lilypond doesn’t
> use the text baseline as the reference point!?!?

Lilypond does use the text baseline as reference point for text.

It seems that override of stencil-align-dir-y = #CENTER 
makes LilyPond *replace* the usual reference point with the vertical
center of the text, including descenders if there are any.

Other values in place of CENTER move the reference to different fractions
of the vertical extent.  Looking at the code, leaving stencil-align-dir-y
unset leaves the reference point at the baseline.

The documentation talks next about  stencil-offset
Try that.





reply via email to

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