[Top][All Lists]

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

Re: Unwanted space around cautionary accidental

From: Valentin Petzel
Subject: Re: Unwanted space around cautionary accidental
Date: Tue, 23 Nov 2021 01:36:42 +0100

Hello Jean,

About the difference in horizontal skylines:
As regular accidentals get be parenthesized and cautionary accidentals can be 
unparenthesized I think it is still legitimate to let behave 
AccidentalCautionary behave the same way. According to the source flats and 
double flats get a bit more padding to the right, but I don’t actually find 
any difference between these two.


Am Dienstag, 23. November 2021, 00:33:09 CET schrieb Jean Abou Samra:
> Le 23/11/2021 à 00:05, Valentin Petzel a écrit :
> > Accidental and AccidentalCautionary grob definitions differ in three ways,
> > the Accidental grob has these three additional properties:
> > 
> > (extra-spacing-width . (-0.2 . 0.0))
> > (horizontal-skylines . ,(ly:make-unpure-pure-container
> > ly:accidental-interface::horizontal-skylines)) (vertical-skylines .
> > ,grob::unpure-vertical-skylines-from-stencil)
> > 
> > I know no good reason why these properties should differ, as the only
> > difference between these grobs should be that AccidentalCautionary has
> > parenthesize set to #t by default.
> The difference in horizontal-skylines is expected,
> I believe. Accidental has some adjustments specific to
> certain glyphs (flats and double flats). This is not
> relevant for AccidentalCautionary because the parentheses
> 'hide' the outline of the glyph from the horizontal
> point of view.
> However, the differences in extra-spacing-width and
> vertical-skylines are clearly not expected as far
> as I can see. Good catch; I suggest to submit a patch.
> (Homework for me: figure out why accidentals' skylines
> need be unpure??)
> Best,
> Jean

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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