bar-chords-notation-for-guitar--with-text-spanner.ly doesn't compile on OS X

View: New views
6 Messages — Rating Filter:   Alert me  

bar-chords-notation-for-guitar--with-text-spanner.ly doesn't compile on OS X

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On OS X 10.5.8 (Linux works well), LilyPond 2.13.7 can't compile
Documentation/snippets/bar-chords-notation-for-guitar--with-text-spanner.ly:

thSoft-MacBook:Temp thsoft$
/Applications/LilyPond-dev.app/Contents/Resources/bin/lilypond
bar-chords-notation-for-guitar--with-text-spanner.ly
GNU LilyPond 2.13.7
Processing `bar-chords-notation-for-guitar--with-text-spanner.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Solving 1 page-breaking chunks...[1: 1 pages]
Drawing systems...
Layout output to `bar-chords-notation-for-guitar--with-text-spanner.ps'...
Converting to `./bar-chords-notation-for-guitar--with-text-spanner.pdf'...
`gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile="./bar-chords-notation-for-guitar--with-text-spanner.pdf" -c
.setpdfwrite -f "bar-chords-notation-for-guitar--with-text-spanner.ps"' failed
(256)
error: failed files: "bar-chords-notation-for-guitar--with-text-spanner.ly"

When running with --verbose:

Can't find (or can't open) font file
/Applications/LilyPond-dev.app/Contents/Resources/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Can't find (or can't open) font file
/Applications/LilyPond-dev.app/Contents/Resources/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Querying operating system for font files...
Didn't find this font on the system!
Substituting font Courier for NimbusRomNo9L-Regu.
Can't find (or can't open) font file
/Applications/LilyPond-dev.app/Contents/Resources/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Can't find (or can't open) font file
/Applications/LilyPond-dev.app/Contents/Resources/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Didn't find this font on the system!
Unable to substitute for font.
Error: /invalidfont in /findfont
Operand stack:
   Times-Roman
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1830   1   3   %oparray_pop   1829
  1   3   %oparray_pop   1813   1   3   %oparray_pop   1707   1   3  
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1788
 1   3   %oparray_pop
Dictionary stack:
   --dict:1152/1684(ro)(G)--   --dict:0/20(G)--   --dict:109/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 573095
GPL Ghostscript 8.70: Unrecoverable error, exit code 1

This is strange, since there's no directory like
/Applications/LilyPond-dev.app/Contents/Resources/Font.



_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: bar-chords-notation-for-guitar--with-text-spanner.ly doesn't compile on OS X

by Valentin Villenave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/9 Harmath Dénes <harmathdenes@...>:
> On OS X 10.5.8 (Linux works well), LilyPond 2.13.7 can't compile
> Documentation/snippets/bar-chords-notation-for-guitar--with-text-spanner.ly:

Greetings,

this is weird indeed. I can't reproduce it on either Windows or
GNU/Linux, so I'd be happy if someone could investigate it further.

Does it help if you comment the font-related PostScript instructions?

Cheers,
Valentin


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: bar-chords-notation-for-guitar--with-text-spanner.ly doesn't compile on OS X

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009.11.19., at 9:10, Valentin Villenave wrote:

> 2009/11/9 Harmath Dénes <harmathdenes@...>:
>> On OS X 10.5.8 (Linux works well), LilyPond 2.13.7 can't compile
>> Documentation/snippets/bar-chords-notation-for-guitar--with-text-spanner.ly:
>
> Greetings,
>
> this is weird indeed. I can't reproduce it on either Windows or
> GNU/Linux, so I'd be happy if someone could investigate it further.
>
> Does it help if you comment the font-related PostScript instructions?
>
> Cheers,
> Valentin
As the output shows, this is again GS-related (as usual), but I don't know any more info. What is even stranger, a PDF is produced (attached), but it is incomplete.

Dénes



_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

bar-chords-notation-for-guitar--with-text-spanner.pdf (29K) Download Attachment

Re: bar-chords-notation-for-guitar--with-text-spanner.ly doesn't compile on OS X

by Valentin Villenave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/19 Harmath Dénes <harmathdenes@...>:
> As the output shows, this is again GS-related (as usual), but I don't know any more info. What is even stranger, a PDF is produced (attached), but it is incomplete.

Yet another reason to use Apple's pstopdf instead of Ghostscript in
Mac OSX builds.

Can you try and find what exactly in this snippet produces the bug? (I
strongly suspect that it's the embedded postscript code with the font
instructions.)

Cheers,
Valentin


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: bar-chords-notation-for-guitar--with-text-spanner.ly doesn't compile on OS X

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009.11.19., at 11:42, Valentin Villenave wrote:

> Can you try and find what exactly in this snippet produces the bug? (I
> strongly suspect that it's the embedded postscript code with the font
> instructions.)

Of course: the lines

        /Times-Roman findfont
        2.0 scalefont
        setfont

cause the issue; if all of them are commented out, the file compiles.

Dénes

_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: bar-chords-notation-for-guitar--with-text-spanner.ly doesn't compile on OS X

by Valentin Villenave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/19 Harmath Dénes <harmathdenes@...>:
> Of course: the lines
>
>        /Times-Roman findfont
>        2.0 scalefont
>        setfont
>
> cause the issue; if all of them are commented out, the file compiles.

Then I'm not sure there's much we can do on the LilyPond side; this
PostScript code looks very much platform-dependent to me, doesn't it?

Valentin


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond