[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: global alignment tweak for ChordName
From: |
Jean Abou Samra |
Subject: |
Re: global alignment tweak for ChordName |
Date: |
Tue, 21 Dec 2021 22:21:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 |
Le 21/12/2021 à 21:49, David Kastrup a écrit :
Your "if" has no else path. Maybe replace it with "and", assuming that
ChordName knows how to deal with an X-offset of #f (which tends to be a
valid setting for any predicate in grob properties).
Ouch. Looking at the relevant code path uncovered what
is to me buggy-looking behavior.
https://gitlab.com/lilypond/lilypond/-/issues/6226
So, yes, "and" would be a good idea.
[Valentin]
Hello Jean, hello David, hello Kieren,
you should even be able to write (if sten (ly:stencil-extent sten)), as the
stencil should always be a stencil or #f.
The two universally accepted values for any property
regardless of the predicate are #f and '(), so it
may still be '(), which is why checking with specific
predicates like this is often used in LilyPond's
source.
Best,
Jean
- Re: global alignment tweak for ChordName, Kieren MacMillan, 2021/12/21
- Re: global alignment tweak for ChordName, Kieren MacMillan, 2021/12/21
- Re: global alignment tweak for ChordName, Aaron Hill, 2021/12/21
- Re: global alignment tweak for ChordName, Kieren MacMillan, 2021/12/21
- Re: global alignment tweak for ChordName, Kieren MacMillan, 2021/12/21
- Re: global alignment tweak for ChordName, David Kastrup, 2021/12/21
- Re: global alignment tweak for ChordName, Jean Abou Samra, 2021/12/21
- Re: global alignment tweak for ChordName, Kieren MacMillan, 2021/12/21
- Re: global alignment tweak for ChordName, David Kastrup, 2021/12/21
- Re: global alignment tweak for ChordName,
Jean Abou Samra <=
- Re: global alignment tweak for ChordName, David Kastrup, 2021/12/21
- Re: global alignment tweak for ChordName, Jean Abou Samra, 2021/12/21
- Re: global alignment tweak for ChordName, Valentin Petzel, 2021/12/21
- Re: global alignment tweak for ChordName, David Kastrup, 2021/12/21
- Re: global alignment tweak for ChordName, Valentin Petzel, 2021/12/21