lilypond-devel
[Top][All Lists]
Advanced

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

Re: custom dynamic mark loses "e"


From: Mats Bengtsson
Subject: Re: custom dynamic mark loses "e"
Date: Tue, 31 May 2005 07:18:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319



Graham Percival wrote:
In 2.4, I had a custom command for "f espr" (thanks Mats!).  In recent
2.5, the "e" is lost from "espr".  Is this due to scheme changing (ie it
tries to look for dynamic fonts for the "e" and can't find any, so it doesn't
print anything), or some other issue, or...?

Cheers,
- Graham

\version "2.4.0"
#(def-markup-command (text paper props arg) (markup?)
  "Use ordinary text font."
  (interpret-markup
   paper (prepend-alist-chain 'font-encoding 'ec props) arg))
I guess this line isn't relevant in 2.5. Try to set the font-encoding to
'roman instead of 'ec (I don't have a 2.5 installation available here,
so I can't test it). I still think that it would be a good idea to have
a \normaltext markup command (and the implementation provided here is
clearly not the best solution of such a markup command).

   /Mats


fespr = #(make-dynamic-script (markup #:dynamic "f" #:text #:italic "espr" ) )

{
c4\fespr
}



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

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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