[Top][All Lists]
[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
- make web fails #2, Nicolas Sceaux, 2004/08/18
- make web fails #2, Han-Wen Nienhuys, 2004/08/18
- Re: make web fails #2, Nicolas Sceaux, 2004/08/18
- Re: make web fails #2, Carl Sorensen, 2004/08/19
- Re: make web fails #2, Carl Sorensen, 2004/08/19
- Re: make web fails #2, Han-Wen Nienhuys, 2004/08/19
- Re: make web fails #2, Carl Sorensen, 2004/08/20
- Re: make web fails #2, Han-Wen Nienhuys, 2004/08/20
- Re: make web fails #2, Carl Sorensen, 2004/08/21
- Re: make web fails #2,
Han-Wen Nienhuys <=