[EMAIL PROTECTED] 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 | [EMAIL PROTECTED] | http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel