lilypond-user
[Top][All Lists]

## Re: Using #(define fonts) gives me an ill-looking feta font

 From: Timothy Sheasby Subject: Re: Using #(define fonts) gives me an ill-looking feta font Date: Wed, 9 Mar 2011 10:21:05 +0200

```Try changing the second number in the font tree parameter --> (/ myStaffSize 20)
I have been using this parameter and find this fixed a similar problem I had.
Can't remember why it had to be 20 but that's what worked for me.

On 09 Mar 2011, at 9:55 AM, David Rogers wrote:

> * James Lowe <address@hidden> [2011-03-09 07:13]:
>
>> Hello,
>>
>> I am using Mac OS X (in case that matters) and I am having an issue where
>> using the following construct in a \paper block:
>>
>> myStaffSize = #24
>> #(define fonts
>>                           "Optima"
>>                           "Courier"
>>                             (/ myStaffSize 24)))
>>
>>
>> --
>>
>> Gives me 'ugly' instances of the feta font.
>>
>> See attached pngs (left side is without this construct)
>>
>> As you can see the 'church rests' don't touch the staff lines and the
>> heads and stems are 'spindly'.
>>
>> I'd like to define the 3 font types instead of having to use overrides,
>> but the 'myStaffSize' is something I just copied verbatim from the NR. I
>> don't actually know what it does but I cannot just remove it as I get
>> compile errors.
>>
>> My files use a #(set-global-staff-size 24) so I thought it might be
>> related, but changing the value either in this global-staff-size or in the
>> myStaffSize does nothing.
>
> Try removing (or commenting out) your global-staff-size setting. I think
> that the myStaffSize and the global-staff-size conflict with each other,
> even if they are set to the same value.
>
> --
> David
>
> _______________________________________________
> lilypond-user mailing list