lilypond-user
[Top][All Lists]
Advanced

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

Re: how to create baroque ornaments


From: Carl Sorensen
Subject: Re: how to create baroque ornaments
Date: Mon, 27 Jun 2011 22:04:57 -0600

On 6/27/11 2:52 PM, "Giso Grimm" <address@hidden> wrote:

> Hi Carl,
> 
> On 06/27/2011 10:40 PM, Carl Sorensen wrote:
>> 
>> ------ Forwarded Message
>> [...]
>> How can I create ornaments like those in the attached example?
>> 
>> I tried \markup with creating a path, however, this is always placed
>> outside the staff. The desired ornament should always appear at a fixed
>> distance to the note head (similar to accidentials, but after the note
>> head).
>> [...]
>> ------ End of Forwarded Message
>> 
>> 
>> The most straightforward way to do this will be to add the ornaments to the
>> font and to make them articulations.  Then the properties can be
>> appropriately set.  This would require changes to the font, so it's not
>> trivial.  That's why I've forwarded this request to bug-lilypond, where it
>> can become an enhancement request.
>> 
>> It looks like the current script interface is pretty hard-coded around
>> getting glyphs from the feta font.
>> 
>> You may be able to adjust the position of a markup to get what you want, but
>> I think it will be quite difficult.
>> 
>> I'd be happy to give you some advice about adding the glyphs to the feta
>> font if you're interested in doing it.
> 
> thanks for your reply! Yes, I would be happy to learn about how to edit
> the feta font, please give some advice and a starting point.

I've put together a (very small) section of the Contributor's Guide on
fonts.

Because it's not yet part of the distribution, I've attached it here.

You'll want to read the Contributor's Guide (CG).

You'll need to get set up to build LilyPond in order to change the font. The
most standard way is to run the lilydev Ubuntu image in a virtual machine as
described in Chapter 2 of the CG.

For your case, you'll want to add new glyphs to the file mf/feta-scripts.mf,
so all you need to do is add that metafont code to that particular file.

Once you've got the glyphs in the font, you'll need to add entries in
scm/script.scm and ly/script-init.ly.

I think that will be all you need to do to make things work.

Let me know if you have more questions.  You should ask the questions either
on the Frogs list (see Contributor's Guide, section 1.1) or on the
lilypond-devel list (see
http://lilypond.org/doc/v2.13/Documentation/web/contact).

Thanks,

Carl

Attachment: feta-font.html
Description: feta-font.html


reply via email to

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