Richard,
Internally, when you call set-global-staff-size, it resets the text fonts.
Thus, if you want to use a different staff size, that must go PRIOR to where
you define the fonts. Kinda weird, I know, but that's how it works.
HTH,
Abraham
Sent from my iPhone
> On Oct 24, 2014, at 10:29 AM, Richard Shann-2 [via Lilypond]
> <ml-node+s1069038n167869...@n5.nabble.com> wrote:
>
> Following the example for setting the entire document fonts at
>
> http://www.lilypond.org/doc/v2.18/Documentation/notation/fonts#entire-document-fonts
>
> I constructed this code:
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> \version "2.18.0"
> \paper {
> #(define fonts
> (make-pango-font-tree "Nimbus Sans"
> "Luxi Mono"
> "Times New Roman"
> (/ staff-height pt 20)))
> }
>
> {
> c'<> ^\markup {roman,
> \sans sans,
> \typewriter typewriter.} g'
> }
> %#(set-global-staff-size 20)
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
>
> where I have switched round the order of the fonts so that the
> typewriter should show in Roman and the Roman as sans etc.
> This works, but if I uncomment the set-global-staff-size line it reverts
> to the default.
> What is going on here? How do I set the fonts and the overall staff
> size?
>
> Richard
>
>
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/Setting-entire-document-fonts-tp167869.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
> To unsubscribe from Lilypond, click here.
> NAML
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Setting-entire-document-fonts-tp167869p167870.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user