lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font switching help


From: james
Subject: Re: font switching help
Date: Thu, 4 Dec 2008 13:46:52 +0100

Oops, I looked more closely at the list, and it does name all the system fonts. I just don't see palatino in the list.

Am 04.12.2008 um 12:01 schrieb Mats Bengtsson:

Did you read
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/ Fonts#Fonts-explained

In particular, it explains how to obtain a list over all fonts on your system that are available
to LilyPond.

   /Mats

james wrote:

Am 04.12.2008 um 06:41 schrieb Jan van Dijk:

Op Thursday 04 December 2008 00:47:52 schreef james:
I'm not understanding how font switching in a \markup block works. I
thought that I could just do \markup \override #'(fontname .
#'Courier) {test} and it would work, but it doesn't. Is there some
other command that I've missed?


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

You can try this one:
\override #'(font-name . "Courier")

Ah, I see now that courier was a poor choice, because Lilypond has its own courier. I'm trying to get to a font that's just installed on the computer, Palatino, to be precise. So far, I've been unsuccessful in my attempt. I found a thread from kieren a while ago that mentions, "Pango on OSX can only use Truetype fonts (including dfonts) that contain only one font variant". Unfortunately, the answer is apparently in a regression test document, font-family-override.ly and I don't know where to find input/regression (which is where I assume from the documentation this file would live). I'm on MacOSX 10.4.


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================






reply via email to

[Prev in Thread] Current Thread [Next in Thread]