On 2/26/11 9:45 AM, "Xavier Scheuer" <x.sche...@gmail.com> wrote:

> On 26 February 2011 17:11, Carl Sorensen <c_soren...@byu.edu> wrote:
>> 
>> Finally, regarding your question about scaling note heads.  It is possible
>> to scale a note head differently in x and y if you are using it in a markup,
>> but as far as I know, there is no way to scale it differently in x and y as
>> a note head in the music.
> 
> I'm not a dev but it should be possible to scale all the note heads
> (i.e. not only the mi) by using  ly:stencil-scale , I think.

If one wanted to scale *all* of the note heads, one could do that, by
overriding the stencil property of NoteHead.

\override NoteHead #'stencil = #(lambda (grob) (ly:stencil-scale
(ly:note-head::print grob) x-scale-factor y-scale-factor))

Note that I have *not* tested this code, so it may be slightly wrong in some
detail.  But the general idea is right.

However, this doesn't solve Tim's original problem, I think.

HTH,

Carl


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to