bug-lilypond
[Top][All Lists]
Advanced

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

Re: LSR 631 corrupts accidental positions7 / no effect with stems


From: -Eluze
Subject: Re: LSR 631 corrupts accidental positions7 / no effect with stems
Date: Sun, 6 Feb 2011 07:52:34 -0800 (PST)


Neil Puttock wrote:
> 
> On 1 February 2011 09:15, -Eluze <address@hidden> wrote:
> 
>> 1) with the code below the accidental is misplaced:
>>
>> \relative c' {
>>  \hideCurvesFrom #'Voice.NoteHead #'(0.3 . 0.3) #'(0 . 0)
>>  f2 ( gis4)
>> }
> 
> I don't think there's any workaround for this short of manually
> shifting the accidental since the skyline spacing code relies on
> identifying the NoteHead stencil callback by name (i.e., it checks
> that 'stencil is set to ly:note-head::print, which the \hideCurvesFrom
> code changes).
> 
that's a pity!



>> 2) the code:
>>
>> \relative c' {
>>  \set tieWaitForNote = ##t
>>  \hideCurvesFrom #'Stem #'(0.3 . 0.3) #'(0 . 0)
>>  f2^~ \stemUp g4 b g f1
>> }
>>
>> produces the error:
>>
>> Drawing systems...<string>:8:430: In procedure ly:stencil-extent in
>> expression (ly:stencil-extent this-stil 0):
>> <string>:8:430: Wrong type argument in position 1 (expecting Stencil): ()
> 
> The semibreve has an invisible stem, so there's no stencil created.
> It's fixed in LSR.
> 
thanks, the error has gone!


> \relative c' {
>  \set tieWaitForNote = ##t
>  % important: must call this override before
>  % \hideCurvesFrom otherwise it interferes with
>  % the stencil override
>  \stemUp
>  \hideCurvesFrom #'Stem #'(0.3 . 0.3) #'(0 . 0)
>  f2^~ g4 b g f1
> }
> 
i believe it's the \stemUp before \hideCurvesFrom #'Stem that helps!

the following example with stems going up and down does what i expect! -
although i have the impression that the g's are a little bit above the
staff-line (this only in the png output!)

\relative c' {
  \oneVoice  
  \hideCurvesFrom #'Stem #'(0.3 . 0.3) #'(0 . 0)
  \set tieWaitForNote = ##t
  f2^~ g4 e' g, f2  f4 |
}
http://old.nabble.com/file/p30857294/hideCurvesFrom%2Btest2.png 

cheers!
Eluze
-- 
View this message in context: 
http://old.nabble.com/LSR-631-corrupts-accidental-positions7---no-effect-with-stems-tp30814598p30857294.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.




reply via email to

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