bug-lilypond
[Top][All Lists]
Advanced

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

Re: whole page rotated


From: Shane Brandes
Subject: Re: whole page rotated
Date: Tue, 4 Mar 2014 16:16:48 -0500

Not sure this is all helpful but any value between 135 and 235 is
causing the whole page to rotate.

On Tue, Mar 4, 2014 at 2:05 PM, Thomas Morley <address@hidden> wrote:
> 2014-03-04 19:19 GMT+01:00 Karol Majewski <address@hidden>:
>> Hi,
>>
>> In the following code, I want to rotate custom note head. To my suprise, 
>> this code makes the whole page rotated if there is a line break. What I'm I 
>> doing wrong?
>>
>> #(define nhg
>> (lambda (grob)
>>   (if
>>     (= 2
>>       (ly:grob-property grob 'duration-log))
>>     (begin
>>       (let*
>>         ((stem
>>             (ly:grob-object grob 'stem))
>>           (stem-dir
>>             (ly:grob-property stem 'direction))
>>           (rot
>>             (if
>>               (= stem-dir 1) 0 180)))
>>         (ly:grob-set-property! grob 'stencil
>>           (grob-interpret-markup grob
>>             (markup #:rotate rot #:musicglyph "noteheads.u2doThin"))))))))
>>
>> \layout {
>>   \context {
>>     \Staff
>>     \override NoteHead.stencil = #nhg
>>   }
>> }
>>
>> {
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>> }
>>
>>
>>
>>
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> Hi Karol,
>
> I've no idea what happens here.
> Below a tiny code triggering the same bug.
> It's present as far as I can go back, i.e. 2.12.3 up to 2.19.1
>
> {
>   \override NoteHead #'rotation = #'(180 0 0)
>   \repeat unfold 80 c''4
> }
>
> I cc-ed the bug-list.
>
> Cheers,
>   Harm
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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