lilypond-user
[Top][All Lists]

## Re: \clef "G_8" with \include "paper-13.ly"

 From: olav gundersen Subject: Re: \clef "G_8" with \include "paper-13.ly" Date: Wed, 23 Oct 2002 10:09:16 +0100

22.10.02 22:23:27, skrev Graham Percival <address@hidden>:

>On Tue, 22 Oct 2002 16:47:56 -0400
>> In the same piece i talked about in my previous e-mail, if i include
>> "paper-13.ly" i get a bunch of
>> (#f italic medium roman -2)warning: couldn't find any font satisfying
>> errors during compilation, when i open the file, the only font that
>> hasn't changed it the 8 under the G clef of the tenor line ("G_8")
>> is this a bug in 1.6.0? has it been fixed in 1.7? if so, great, if not,
>> can something be done?
>
>Lilypond only has fonts in sizes 11, 13, 16, etc.  I believe that the "-2"
>in (#f italic medium roman -2)  makes Lilypond look for a font that's
>two sizes smaller than 13.  Since Lilypond doesn't have any such font,
>it generates an error.  If you use paper-16.ly you shouldn't have this
>problem.
>

This is of course a problem with the music fonts (feta), but not with text
fonts, since  computer modern fonts
and the ec-fonts come in more sizes than the feta-fonts. To avoid the mentioned
error message for text fonts,
edit the file fonts.scm. And make reference to even smaller roman, italic,
lines at the appropriate places. These places are easily found. Most fonts are
scaled to "-4". Add "-5" and "-
6", -- or even "-4" where appropriate and lacking. Check which font sizes are
they are not available, add the same smallest available font for "-4", "-5" and
"-6", e.g. "cmr8" or "cmti8". The
print will not be as small as you want in those cases, but you don't get the
error messages, at least. I have
done this with the feta fonts as well, so that I can use paper11.ly and still
use grace notes without error
messages. The grace notes will in this case not be smaller than the ordinary
notes, but to me that is OK.

Olav Gundersen