[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding Century fonts
From: |
address@hidden |
Subject: |
Re: Finding Century fonts |
Date: |
Mon, 20 Aug 2012 05:13:14 -0400 |
On 19 août 2012, at 21:20, address@hidden wrote:
>
> On 19 août 2012, at 20:58, John Mandereau <address@hidden> wrote:
>
>> Il giorno dom, 19/08/2012 alle 20.28 -0400, address@hidden ha
>> scritto:
>>> Nothing to do with iosnoop, but I did some snooping in the code base and I
>>> can't figure out why LilyPond wouldn't raise an error if it doesn't find a
>>> font. In all-font-metrics.cc, there is:
>>
>> [snip]
>>
>>> So it must find the font, but it doesn't print it (see the attached PDF).
>>>
>>> Any ideas?
>>
>> My wild guess is that it is Ghostscript which doesn't find the font(s)
>> when convering from PS to PDF. As I'm quite ignorant in font search and
>> selection in GS, I can't give further hint, unfortunately, other than
>> looking at GS errors or warning in the logs.
>>
>> John
>>
>>
>
> I just checked the generated PS files and it looks like a LilyPond and not GS
> problem. The beginning of my PS file is:
>
> %!PS-Adobe-3.0
> %%Creator: LilyPond 2.17.0
> %%Pages: 1
> %%PageOrder: Ascend
> %%Orientation: Portrait
> %%DocumentMedia: a4 595.28 841.89 80 () ()
> %%DocumentSuppliedResources: font BitstreamVeraSans-Roman
> %%DocumentSuppliedResources: font Emmentaler-20
> %%EndComments
> %%BeginProlog
>
> A normal LilyPond PS file generated from my input should read:
>
> %!PS-Adobe-3.0
> %%Creator: LilyPond 2.17.0
> %%Pages: 1
> %%PageOrder: Ascend
> %%Orientation: Portrait
> %%DocumentMedia: a4 595.28 841.89 80 () ()
> %%DocumentSuppliedResources: font CenturySchL-Roma
> %%DocumentSuppliedResources: font Emmentaler-20
> %%EndComments
> %%BeginProlog
>
> So somewhere it is substituting CenturySchL for Bitstream. I'll try to do a
> step by step comparison to find out where this happens...
>
> Cheers,
> MS
I was incorrect in a previous e-mail about All_font_metrics::find_font - it's
not called for Pango fonts. Will do more snooping...
Cheers,
MS
- Re: Finding Century fonts, (continued)
- Re: Finding Century fonts, Werner LEMBERG, 2012/08/18
- Re: Finding Century fonts, address@hidden, 2012/08/19
- Re: Finding Century fonts, Werner LEMBERG, 2012/08/19
- Re: Finding Century fonts, address@hidden, 2012/08/19
- Re: Finding Century fonts, John Mandereau, 2012/08/19
- Re: Finding Century fonts, address@hidden, 2012/08/19
- Re: Finding Century fonts,
address@hidden <=
- Re: Finding Century fonts, address@hidden, 2012/08/20