[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chaotic stems when querying direction property
From: |
Neil Puttock |
Subject: |
Re: chaotic stems when querying direction property |
Date: |
Sun, 14 Aug 2011 11:59:12 +0100 |
On 14 August 2011 01:03, Ricardo Wurmus <address@hidden> wrote:
> So ly:glob-property has side effects because of the stem callback?
> How can I make sure to get the final stem direction after all
> dependent properties were calculated?
>
> I want to replace a note head with a triangle, but there is a gap
> between note head a stem when the stem points upward. To correct this, I
> modify the stem-attachment property of the note head. This correction
> offset must be different when the stem points down.
I'd override the default callback for stem-attachment. It should be
safe to get the stem direction at this point since it's already been
calculated and cached.
Cheers,
Neil