lilypond-devel
[Top][All Lists]
Advanced

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

Re: MF fonts


From: Carl Sorensen
Subject: Re: MF fonts
Date: Sat, 26 Feb 2011 09:55:27 -0700

On 2/26/11 9:45 AM, "Xavier Scheuer" <address@hidden> wrote:

> On 26 February 2011 17:11, Carl Sorensen <address@hidden> 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




reply via email to

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