grame-cncm / guidolib

Guido project - music score layout engine - music description language
http://guido.grame.fr
Mozilla Public License 2.0
152 stars 34 forks source link

"none" Accidental introduces extra Offset in Chords #145

Closed arshiacont closed 2 years ago

arshiacont commented 2 years ago

Normale behavior without a chord:

{[ \staff<1> \clef<"g2"> \stemsUp \acc( a#1/16) ], 
[ \staff<1>  \stemsDown  \acc<"none">( a#1/16) ]}

leading to:

image

Same but in a chord, where the renderer adds an extra space between the note and the accidental. It actually becomes nasty on a real score:

{[ \staff<1> \clef<"g2"> \stemsUp {\acc( a#1/16),  e2/16}  ], 
[ \staff<1>  \stemsDown  \acc<"none">( a#1/16) ]}
image
arshiacont commented 2 years ago

After testing: the real issue here is that a \acc<"none"> tag introduces an extra dx space where it should be treated as invisible of some sort. @dfober

dfober commented 2 years ago

fixed