lilypond-user
[Top][All Lists]
Advanced

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

Re: Persian musical koron and sori


From: Kees van den Doel
Subject: Re: Persian musical koron and sori
Date: Wed, 18 Feb 2009 09:03:25 -0800

>Then in "\context" add
> 
> \override Accidental #'stencil = #ly:text-interface::print
> \override Accidental #'font-name = #"???"
> \override Accidental #'font-size = #?
> \override Accidental #'text = #(lambda (grob)
>          (cdr (assoc 
> (ly:grob-property grob 'alteration)
>                   persianStrings)))
> \override Accidental #'X-extent = #'(0 . 1)
> \override Accidental #'Y-extent = #'(-1 . 1)

Works great with the typo's fixed. Is there a way to do this only for koron and 
sori and render the
normal accidentals as usual?

> and so on for KeySignature 

If I do the same for KeySignature

\override KeySignature #'text = #(lambda (grob)
          (cdr (assoc 
 (ly:grob-property grob 'alteration)
                   persianStrings)))

gives me an error. It's been almost 20 years since I've used Scheme and I don't 
remember
enough to be able to guess what the problem is...

>and whatever else you want to use 
> the new symbols.  The font name is what Pango uses to find 
> the new font and you may need to adjust the font size.  For 
> the best results use lookups for the X- and Y-extents as well.

Thanks a lot!

Kees




reply via email to

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