On 19 août 2012, at 21:20, m...@mikesolomon.org wrote: > > On 19 août 2012, at 20:58, John Mandereau <john.mander...@gmail.com> wrote: > >> Il giorno dom, 19/08/2012 alle 20.28 -0400, m...@mikesolomon.org 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 _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel