Matthew,
If Kieren is right about the font format, you might try using a free online
TTF-to-OTF converter on the font file you'd like to use. Other than that, it
looks like your syntax is correct. You could also change one of the main
document fonts to be the one you are trying to use.
- Abraham
Sent from my iPhone
> On Jan 24, 2015, at 2:58 PM, Matthew James Briggs [via Lilypond]
> <ml-node+s1069038n170938...@n5.nabble.com> wrote:
>
> Hello, I am brand new to this and trying to learn how to change the fonts
> used for text elements. In this case, Title.
>
> The example below does not work (I'm using a crazy font for the example, in
> actuality I would use something else, but this proves for sure that the Font
> is not being changed).
>
> Attached is a picture of the Font Book application on my Mac. How do I know
> the exact name of the font-name that should be used in the ly file? Could
> this differ from what I see in the FontBook?
>
> Also, I usually like to increase the kerning of the Title. Is this possible?
>
> Thanks.
>
> .mjb
>
> \version "2.18.2"
>
>
> \header {
> title = \markup {
> \override #'(font-name . "Baghdad")
> "This my Masterpiece"
> }
> }
>
> \paper {
> #(set-paper-size "letter")
> }
>
> \score {
> <<
> \violinPart
> \marimbaPart
> >>
> \layout { }
> \midi { }
> }
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> FontBook.png (537K) Download Attachment
>
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/Changing-Text-Fonts-tp170938.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/Changing-Text-Fonts-tp170938p170947.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