lilypond-devel
[Top][All Lists]
Advanced

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

Re: make web fails #2


From: Han-Wen Nienhuys
Subject: Re: make web fails #2
Date: Thu, 19 Aug 2004 19:05:44 +0200

address@hidden writes:
> On Wed, 2004-08-18 at 16:28, Han-Wen Nienhuys wrote:
> 
> > Carl, can you select fonts by tacking any properties you need (and
> > only those) onto the props variable passed via the markup system? It
> > will make sure you select text fonts in the appropriate encoding. 
> 
> I'm not sure exactly how to do this. In my code I call fontify-text,
> which needs a font as an argument. The code I use to select the font is
> listed below:
> 
> (ly:paper-get-font paper `(((font-family . sans)
>                                            (font-encoding .
> ,ss-font-encoding)
>                                            (font-series . medium)
>                                            (font-shape . upright)
>                                            (font-size . ,(stepmag 
> string-label-font-mag)))))

you should do

        (ly:paper-get-font paper
                           (cons `((font-family . sans))
                                 props))

or similar.

-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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