[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scale notehead X and Y independently
From: |
Tim Sheasby |
Subject: |
Re: scale notehead X and Y independently |
Date: |
Thu, 17 Mar 2011 08:01:37 +0200 |
Thanks Robin. This does exactly what I need. I will use this to optically tweak
note heads before trying to patch the fonts again. Lets me optically align the
mi and do.
On 17 Mar 2011, at 2:06 AM, Robin Bannister wrote:
> Tim Sheasby wrote:
>> how do I apply it to a specific note in a \set shapeNoteStyles context
> Well, I'm not sure what you're aiming for, but try this:
>> miNarrow = #(lambda (grob) (if (eqv? (ly:grob-property grob 'style)
>> 'miMirror)
>> (ly:stencil-scale (ly:note-head::print grob) 0.5 1.5)
>> (ly:note-head::print grob)))
>> \relative c' {
>> \override NoteHead #'stencil = #miNarrow
>> \aikenHeads
>> <c e>4
>> <c e>4
>> }
> Cheers, Robin
>
> <miNarrow.png>
Tim Sheasby
address@hidden