[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to catch extent of AccidentalPlacement?
From: |
Thomas Morley |
Subject: |
Re: How to catch extent of AccidentalPlacement? |
Date: |
Sun, 16 Mar 2014 13:06:01 +0100 |
2014-03-12 1:27 GMT+01:00 Thomas Morley <address@hidden>:
> Hi,
>
> for some function I need to know the extent/length of the AccidentalPlacement.
>
> With 2.16.2 I used to do something like:
>
> info =
> \override Staff.AccidentalPlacement #'after-line-breaking =
> #(lambda (grob)
> (display (interval-length (ly:grob-extent grob grob X)))
> (newline))
>
> \relative c' {
> \info
> <c d>
> <cis d>1
> <cis dis>
> <cis dis eis>
> <cis dis eis fis>
> <cis dis eis fis gis>
> }
>
> and got different values.
>
> With 2.18.0 and 2.19.1 it always returns the same: 1.1
> Looks like a bug to me.
> How to do it different?
>
> Cheers,
> Harm
Noone with an idea?
bug-list cced
Cheers,
Harm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: How to catch extent of AccidentalPlacement?,
Thomas Morley <=