[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Font woes with lilypond on Ubuntu (was Re: svg output from version 2.13.
From: |
Bernard Hurley |
Subject: |
Font woes with lilypond on Ubuntu (was Re: svg output from version 2.13.12 cannot cope with numeric time signature) |
Date: |
Wed, 27 Jan 2010 14:44:26 +0000 |
On Mon, 2010-01-25 at 12:15 -0800, Patrick McCarty wrote:
> I have one more idea that might narrow down the problem:
>
> Does the time signature look correct in the PDF output when using
> \numericTimeSignature ? I'm curious, because the feta-alphabet Type 1
> fonts are loaded in the same way for the default (PDF) output as for
> the SVG output.
>
> If you want to see exactly which fonts are loaded for the PS/PDF
> output, invoke LilyPond as below, and examine the header of the
> PostScript file. Search for "%%DocumentSuppliedResources".
>
> $ lilypond -dno-delete-intermediate-files myfile.ly
I have been looking at version 2.12.2 (as installed by the Ubuntu
package) and this too has font problems. I am beginning to think the
problem only effects lilypond on Ubuntu.
1] Doing:
$ lilypond -dno-delete-intermediate-files myfile.ly
where myfile.ly is:
{ \times 3/4 c' }
with either 2.12.2 or 2.13.12.The PDF doesn't look correct. The
header of the ps file shows the following fonts are loaded:
%%DocumentSuppliedResources: font CenturySchL-Roma
%%DocumentSuppliedResources: font CharisSIL
%%DocumentSuppliedResources: font Emmentaler-20
2] Something has changed since 2.12.2 since:
$ lilypond -dbackend=svg myfile.ly
does produce a readable svg file (but with the wrong font, of
course) with version 2.12.2. However, with version 2.13.12 it
produces an unreadable svg file and the error:
Layout output to
`myfile.svg'.../home/consultant/lilynew/lilypond/out/share/lilypond/current/scm/lily-library.scm:709:25:
In procedure ly:font-name in expression (ly:font-name font):
/home/consultant/lilynew/lilypond/out/share/lilypond/current/scm/lily-library.scm:709:25:
Wrong type argument in position 1 (expecting Font_metric):
"CharisSIL"
3] There is nothing special about CharisSIL,
If I remove it, DoulosSIL takes it's place. I thinking that it
might have something to do with fontconfig not understanding
lilypond's font instructions and substituting a system font, I
tried replacing the Ubuntu version of fontcong with the Debian
"lenny" version, but it makes no difference.
In addition to the above, there are some (possibly unrelated
font-related errors thrown up while compiling lilypond 2.13.12, For
instance:
Invoking "fontforge -script feta11.pe feta11.pfb"...
Copyright (c) 2000-2009 by George Williams.
Executable based on sources from 22:35 GMT 22-Jun-2009.
Library based on sources from 22:35 GMT 22-Jun-2009.
Internal Error in accidentals.flat.arrowdown: monotonic is both needed
and unneeded.
Internal Error in accidentals.flat.arrowdown: monotonic is both needed
and unneeded.
Internal Error in accidentals.flat.arrowdown: Expected needed monotonic.
and:
Internal Error in accidentals.sharp.arrowup: couldn't find a needed
exit from an intersection
Internal Error:
Could not find finalm
and:
Invoking "fontforge -script feta26.pe feta26.pfb"...
Copyright (c) 2000-2009 by George Williams.
Executable based on sources from 22:35 GMT 22-Jun-2009.
Library based on sources from 22:35 GMT 22-Jun-2009.
Internal Error in scripts.varcoda: couldn't find a needed exit from an
intersection
Internal Error:
Could not find finalm
Internal Error in scripts.varcoda: couldn't find a needed exit from an
intersection
Thanks,
Bernard