[Top][All Lists]

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

Re: strut problem,Re: strut problem

From: Werner LEMBERG
Subject: Re: strut problem,Re: strut problem
Date: Fri, 18 Nov 2022 11:34:55 +0000 (UTC)

>> What I suggest is that zero-width/zero-height objects
>> *are* taken in account for computing the skylines.
> What makes your (redefined) \strut not taken into account [...]  is
> caused by the "" stencil expression, which LilyPond never gives
> skylines to

Ah, thanks.

> It is completely unclear to me how you would take non-printing
> stencils with empty extents into skylines.  How should the resulting
> skylines look like?  If the X extent is empty-interval, why should
> the vertical skyline take this stencil into account on '(0 . 0) and
> not on, say, '(2 . 2)?

I don't understand what you mean, please elaborate.

What I want: Let's assume we have `\markup \concat {"a" \strut "a"}`,
then the vertical skyline would be

    | a   a |

i.e., there would be a (zero-width) spike between the two 'a' glyphs.

> If \strut needs to have an empty X extent for horizontal spacing
> reasons, you will need to use ly:stencil-outline.

Please give an example.


reply via email to

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