[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-global-staff-size undoes define fonts
From: |
Martin Neubauer |
Subject: |
Re: set-global-staff-size undoes define fonts |
Date: |
Mon, 28 Jan 2019 05:09:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
On 27/01/2019 04:52, David F. wrote:
> I can specify the font for my score to use with #(define fonts … ), but
> calling #(set-global-staff-size) undoes the font definition.
>
> In the snippet below, Times New Roman will be used as the font for the whole
> document. But if line 6 is uncommented, the font reverts to the default of
> New Century Schoolbook. (These fonts are easily distinguished by the letter
> Q—hence the title.)
>
> Any suggestion on how I can both set the font to TNR and set the staff size
> (in that order)?
Why do you insist on the order, anyway? If you don't, I think the
solution would be quite obvious.
>
> =======
> \version "2.19"
>
> \paper {
> #(define fonts (make-pango-font-tree "Times New Roman" "" "" 1))
> }
> % #(set-global-staff-size 20)
>
> \header {
> title = "QQQ"
> }
>
> \relative c' {
> c c c c
> }
> =======
>
> Thanks,
> David
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
--
Those are my principles. If you don't like them, I have others.
signature.asc
Description: OpenPGP digital signature