lilypond-user
[Top][All Lists]
Advanced

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

Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning


From: Robin Bannister
Subject: Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning
Date: Thu, 10 Sep 2009 23:02:46 +0200

Torsten Anders wrote:
Now, there is only a minor flaw now: the distance between a note and the related accidentals is rather big. In fact, accidentals are more close to the preceding note than the note they belong to.


I'm way out of my depth here, but it looks like markup is appending space to the glyphs of this font. To see how far the markup actually extends, try doing \override Accidental #'stencil = #(lambda (grob) (box-stencil (ly:text-interface::print grob) 0 0))



And to see the effect more clearly, compare these two concats:

 \markupHE \markup \concat { \sans n \sans n } % HE font

 \markupHE \markup \concat { \natural \natural } % feta font



I can't help you with this font problem, but cheating on the X-extent improves things a bit:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#(define (markup-X-extent markup) (lambda (grob)
(interval-translate (ly:stencil-extent (grob-interpret-markup grob markup) X) -0.5)))
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Cheers,
Robin

Attachment: concat.png
Description: PNG image


reply via email to

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