[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Converting lilypond-output to gif/png
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Converting lilypond-output to gif/png |
Date: |
19 Feb 2001 20:42:03 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Dominic Sacré <address@hidden> writes:
> I'm trying to convert the postscript-file generated by lilypond to gifs or
> pngs using the ps-to-gifs.sh script, but it doesn't work. I always get the
> error messages below (and I get a similar error if I try to open the ps-file
> with gv or ghostview).
>
> What exactly is the problem, and how do I solve it?
That's a bit hard to tell. What's the version of lilypond? Maybe you
need to set the fontpath for ghostscript.
19:50:57 appel ~/usr/src/lilypond$ echo $GS_FONTPATH
/home/fred/usr/src/lilypond/mf/out
19:51:08 appel ~/usr/src/lilypond$ echo $GS_LIB
/home/fred/usr/src/lilypond/ps
But this
> Can't find (or can't open) font file NimbusMonL-Regu.
> Can't find (or can't open) font file NimbusMonL-Regu.
is quite strange: it seems that your ghostscript installation is
broken. What operating system/distribution do you use? Maybe you
should also send your .ly input: we normally only use cm, feta and
Times-Roman fonts. Do you have NimbusMonL at all:
19:53:03 appel ~/usr/src/lilypond$ grep NimbusMonL-Regu
/usr/lib/ghostscript/fonts/*
/usr/lib/ghostscript/fonts/Fontmap:/NimbusMonL-Regu (n022003l.pfb) ;
/usr/lib/ghostscript/fonts/Fontmap:/NimbusMonL-ReguObli (n022023l.pfb) ;
/usr/lib/ghostscript/fonts/Fontmap:/Courier
/NimbusMonL-Regu ;
/usr/lib/ghostscript/fonts/Fontmap:/Courier-Oblique
/NimbusMonL-ReguObli ;
/usr/lib/ghostscript/fonts/n022003l.afm:FontName NimbusMonL-Regu
Binary file /usr/lib/ghostscript/fonts/n022003l.pfb matches
/usr/lib/ghostscript/fonts/n022023l.afm:FontName NimbusMonL-ReguObli
Binary file /usr/lib/ghostscript/fonts/n022023l.pfb matches
What does this say:
x.ps:
%!PS-Adobe-1.0
/times { /Times-Roman findfont 36 scalefont setfont } bind def
/nimbus { /NimbusMonL-Regu findfont 36 scalefont setfont } bind def
20 500 moveto
times (\101) show
times (\20) show
times (\102) show
20 400 moveto
nimbus (\102) show
showpage
19:58:07 appel ~/usr/src/lilypond$ gs x.ps
GNU Ghostscript 5.10 (1998-12-17)
Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.
Loading NimbusRomNo9L-Regu font from /usr/lib/ghostscript/fonts/n021003l.pfb...
1873900 560938 1300092 13493 0 done.
Loading NimbusMonL-Regu font from /usr/lib/ghostscript/fonts/n022003l.pfb...
1934176 606253 1300092 13695 0 done.
>>showpage, press <return> to continue<<
GS>
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
Re: Converting lilypond-output to gif/png,
Jan Nieuwenhuizen <=