bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More font drama when using EPS backend (OS X)


From: Trevor Bača
Subject: Re: More font drama when using EPS backend (OS X)
Date: Tue, 29 Aug 2006 18:11:04 -0500

On further tinkering, the problem I'm describing below goes away when
I specify both a backend with -b or --backend AND also an output
format with -f or --formats.

For example,

 lilypond --backend=eps foo.ly

explodes, but

 lilypond --backend=eps --formats=ps foo.ly

works just fine. (All under 2.9.16 again.)

Makes sense, I guess. Just didn't think that I had to pair the
commandline parameters.

So I guess this isn't a bug and shouldn't go on the buglist. The eps
backend works fine under OS X Intel (also PPC) so long as there's a
corresponding specification for output format.



On 8/28/06, Trevor Bača <address@hidden> wrote:
Hi,

With 2.9.16 under OS X Intel, the following causes ghostscript to fail.

(Daniel Tonda noticed the problem (or a similar problem) with
lilypond-book under Windows and Mats moved the discussion to
bug-lilypond here on 8 August, with Daniel saying that the bug shows
up at about version 2.9.11.

  http://lists.gnu.org/archive/html/bug-lilypond/2006-08/msg00051.html

If I'm seeing the same problem, then the bug exists under OS X, too.)


(Also, I mentioned this bit in the recent EPS thread ...

  http://lists.gnu.org/archive/html/lilypond-user/2006-08/msg00340.html

... but I'm pretty sure this belongs on the bug list.)


Here's the sample file:

%%% BEGIN %%%

\version "2.9.16"
\new Staff { c'4 }

%%% END %%%


And here's the output of

  lilypond --verbose --backend=eps 302.ly


%%% OUTPUT %%%

trevor-bacas-computer:~/Documents/music/lilypond/test trevorbaca$
lilypond --verbose -b eps 302.lyGNU LilyPond 2.9.16
warning: Relocation: from
PATH=/sw/bin:/sw/sbin:/usr/local/bin:/Applications/LilyPond.app/Contents/Resources/bin/:/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/lib/:/bin:/sbin:/usr/bin:/usr/sbin
argv0=lilypond
warning: Relocation: compile prefix=/usr/share/lilypond/2.9.16, new
prefix=/Applications/LilyPond.app/Contents/Resources
PATH=/Applications/LilyPond.app/Contents/Resources/bin (prepend)
Setting PATH to
/Applications/LilyPond.app/Contents/Resources/bin:/sw/bin:/sw/sbin:/usr/local/bin:/Applications/LilyPond.app/Contents/Resources/bin/:/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/lib/:/bin:/sbin:/usr/bin:/usr/sbin
warning: Relocation:
framework_prefix=/Applications/LilyPond.app/Contents/Resources/bin/..
Setting INSTALLER_PREFIX to /Applications/LilyPond.app/Contents/Resources/bin/..
Relocation file
/Applications/LilyPond.app/Contents/Resources/bin/../etc/relocate//fontconfig.reloc
Setting FONTCONFIG_FILE to
/Applications/LilyPond.app/Contents/Resources/bin/../etc/fonts/fonts.conf
Setting FONTCONFIG_PATH to
/Applications/LilyPond.app/Contents/Resources/bin/../etc/fonts
Relocation file
/Applications/LilyPond.app/Contents/Resources/bin/../etc/relocate//gs.reloc
warning: no such directory:
/Applications/LilyPond.app/Contents/Resources/bin/../share/ghostscript/8.50/fonts
for GS_FONTPATH
warning: no such directory:
/Applications/LilyPond.app/Contents/Resources/bin/../share/gs/fonts
for GS_FONTPATH
warning: no such directory:
/Applications/LilyPond.app/Contents/Resources/bin/../share/ghostscript/8.50/Resource
for GS_LIB
GS_LIB=/Applications/LilyPond.app/Contents/Resources/bin/../share/ghostscript/8.50/lib
(prepend)
Setting GS_LIB to
/Applications/LilyPond.app/Contents/Resources/bin/../share/ghostscript/8.50/lib:/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/lib
Relocation file
/Applications/LilyPond.app/Contents/Resources/bin/../etc/relocate//guile.reloc
GUILE_LOAD_PATH=/Applications/LilyPond.app/Contents/Resources/bin/../share/guile/1.8
(prepend)
Setting GUILE_LOAD_PATH to
/Applications/LilyPond.app/Contents/Resources/bin/../share/guile/1.8
Relocation file
/Applications/LilyPond.app/Contents/Resources/bin/../etc/relocate//libtool.reloc
DYLD_LIBRARY_PATH=/Applications/LilyPond.app/Contents/Resources/bin/../lib
(prepend)
Setting DYLD_LIBRARY_PATH to
/Applications/LilyPond.app/Contents/Resources/bin/../lib
Relocation file
/Applications/LilyPond.app/Contents/Resources/bin/../etc/relocate//pango.reloc
Setting PANGO_RC_FILE to
/Applications/LilyPond.app/Contents/Resources/bin/../etc/pango/pangorc
Setting PANGO_PREFIX to /Applications/LilyPond.app/Contents/Resources/bin/../
Setting PANGO_SO_EXTENSION to .so
PATH=/Applications/LilyPond.app/Contents/Resources/bin/../bin (prepend)
Setting PATH to
/Applications/LilyPond.app/Contents/Resources/bin/../bin:/Applications/LilyPond.app/Contents/Resources/bin:/sw/bin:/sw/sbin:/usr/local/bin:/Applications/LilyPond.app/Contents/Resources/bin/:/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/lib/:/bin:/sbin:/usr/bin:/usr/sbin
Setting GUILE_MIN_YIELD_1 to 70
Setting GUILE_MIN_YIELD_2 to 70
Setting GUILE_MIN_YIELD_MALLOC to 70

LILYPOND_DATADIR="/usr/share/lilypond/2.9.16"
LOCALEDIR="/usr/share/locale"

Effective prefix:
"/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current"
FONTCONFIG_FILE="/Applications/LilyPond.app/Contents/Resources/bin/../etc/fonts/fonts.conf"
FONTCONFIG_PATH="/Applications/LilyPond.app/Contents/Resources/bin/../etc/fonts"
GS_LIB="/Applications/LilyPond.app/Contents/Resources/bin/../share/ghostscript/8.50/lib:/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/lib"
GUILE_LOAD_PATH="/Applications/LilyPond.app/Contents/Resources/bin/../share/guile/1.8"
PANGO_RC_FILE="/Applications/LilyPond.app/Contents/Resources/bin/../etc/pango/pangorc"
PANGO_PREFIX="/Applications/LilyPond.app/Contents/Resources/bin/../"
PATH="/Applications/LilyPond.app/Contents/Resources/bin/../bin:/Applications/LilyPond.app/Contents/Resources/bin:/sw/bin:/sw/sbin:/usr/local/bin:/Applications/LilyPond.app/Contents/Resources/bin/:/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/lib/:/bin:/sbin:/usr/bin:/usr/sbin"
[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/lily.scm]
[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/lily-library.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/file-cache.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-event-classes.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-music-types.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/output-lib.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/c++.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/chord-ignatzek-names.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/chord-entry.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/chord-generic-names.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/stencil.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/markup.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/music-functions.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/part-combiner.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/autochange.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-music-properties.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/auto-beam.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/chord-name.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/parser-ly-from-scheme.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/ly-syntax-constructors.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-context-properties.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/translation-functions.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/script.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/midi.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/layout-beam.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/parser-clef.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/layout-slur.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/font.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/encoding.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/fret-diagrams.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-markup-commands.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-grob-properties.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-grobs.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-grob-interfaces.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/define-stencil-commands.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/titling.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/paper.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/backend-library.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/x11-color.scm][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/scm/safe-lily.scm]
Initializing FontConfig...
adding font directory:
/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/
adding font directory:
/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/type1/Building
font database.
Processing `302.ly'
Parsing...[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/init.ly[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/declarations-init.ly[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/music-functions-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/nederlands.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/drumpitch-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/chord-modifiers-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/script-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/scale-definitions-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/grace-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/midi-init.ly[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/performer-init.ly]][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/paper-defaults.ly[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/titling-init.ly]][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/engraver-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/dynamic-scripts-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/spanners-init.ly][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ly/property-init.ly]][302.ly]
Interpreting music...
[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/emmentaler-20.otf]
elapsed time: 0.03 seconds
Element count 25 (spanners 7)
Preprocessing graphical objects...
Grob count 
47[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/emmentaler-11.otf][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/emmentaler-13.otf][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/emmentaler-14.otf][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/emmentaler-16.otf][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/emmentaler-18.otf][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/fonts/otf/emmentaler-23.otf]
Calculating line breaks... [2]
Optimal demerits: 103.495995
Drawing systems...
Element count 36.[0]
Calculating page breaks...[century_schoolbook_l_3.865234375]
Writing 302-systems.tex...
Writing 302-systems.texi...
Layout output to
`302-1.eps'...[/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ps/music-drawing-routines.ps][/Applications/LilyPond.app/Contents/Resources/bin/../share/lilypond/current/ps/lilyponddefs.ps]
Converting to `302-1.pdf'...
Invoking `gs   -dSAFER   -dEPSCrop  -dCompatibilityLevel=1.4
-dNOPAUSE -dBATCH -r1200  -sDEVICE=pdfwrite -sOutputFile="302-1.pdf"
-c .setpdfwrite -f "302-1.eps"'...GPL Ghostscript 8.50 (2005-12-31)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
WARNING: /Unicode /Decoding resource is not accessible but it is
useful for generating ToUnicode CMap.
Can't find (or can't open) font file c059013l.pfb.
Can't find (or can't open) font file
/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/Resource/Font/CenturySchL-Roma.
Can't find (or can't open) font file CenturySchL-Roma.
Querying operating system for font files...
Didn't find this font on the system!
Substituting font NewCenturySchlbk-Roman for CenturySchL-Roma.
Unable to substitute for font.
Error: /invalidfont in findfont
Operand stack:
   CenturySchL-Roma   2.19953   CenturySchL-Roma   Font
CenturySchL-Roma   407279   CenturySchL-Roma   --nostringval--
CenturySchL-Roma   NewCenturySchlbk-Roman
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1   3
 %oparray_pop   1   3   %oparray_pop   --nostringval--   1   3
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--
--nostringval--   --nostringval--   2   %stopped_push
--nostringval--   2   3   %oparray_pop   --nostringval--   3   3
%oparray_pop   4   3   %oparray_pop   --nostringval--
--nostringval--   --nostringval--   --nostringval--   --nostringval--
 false   1   %stopped_push   7   4   %oparray_pop   --nostringval--
--nostringval--   --nostringval--   --nostringval--   --nostringval--
 %array_continue   --nostringval--   --nostringval--   1   -1   1
--nostringval--   %for_neg_int_continue
Dictionary stack:
   --dict:1122/1686(ro)(G)--   --dict:0/20(G)--   --dict:107/200(L)--
 --dict:17/17(ro)(G)--   --dict:1122/1686(ro)(G)--
Current allocation mode is local
Last OS error: 2
Current file position is 5895
GPL Ghostscript 8.50: Unrecoverable error, exit code 1

`gs   -dSAFER   -dEPSCrop  -dCompatibilityLevel=1.4  -dNOPAUSE -dBATCH
-r1200  -sDEVICE=pdfwrite -sOutputFile="302-1.pdf" -c .setpdfwrite -f
"302-1.eps"' failed (256)
error: failed files: "302.ly"

%%% END OUTPUT %%%


BTW, is anyone else able to use --backend=eps under OS X with 2.9.16??




--
Trevor Bača
address@hidden



--
Trevor Bača
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]