lilypond-devel
[Top][All Lists]
Advanced

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

Re: ps changes betweeen 2.7.29 and 2.8.2 broke tabloid booklet


From: John Hawkinson
Subject: Re: ps changes betweeen 2.7.29 and 2.8.2 broke tabloid booklet
Date: Sun, 14 May 2006 22:57:51 -0400
User-agent: Mutt/1.5.9i

Argh. Well, this teaches me to reply to one email before reading
the rest.

Christian Conkle on lilypond-user reported a similar failure,
and made me wonder if the patch I had posted had caused a behavior
change. But since you're having the same problem without my
patch, evidently not.

Graham Percival <address@hidden> wrote on Thu, 11 May 2006
at 03:24:36 -0700 in <address@hidden>:

> I produce tabloid booklets of my music (fold tabloid sheet in half to 
> get letter-sized pages).  The method I use to produce them currently 
> does not work; it worked in 2.7.29.  I'm not certain if any ps changes 
> went into 2.9 but not 2.8.2.

There were significant changes to font handling around 2.7.38.

> 1) use lilypond-book to produce normal ps and pdf.  (well, 
> normal-looking; I know little about under-the-hood ps stuff)
> 2) run this:
> psbook $1.ps | psnup -2 -ptabloid -Pletter | ps2pdf -sPAPERSIZE=11x17 - 
> tab-$1.pdf
> 
> With 2.8.2, the final ps2pdf fails

I expect this relates to binary font encodings and psbook/psnup. What
if you pdf2ps the lilypond-produced pdf file and use that as your
starting point for psbook?

> spark:~/aaa/opus/op2/out gperciva$ ps2pdf -sPAPERSIZE=11x17 foo.ps 
> foo.pdf
> Error: /rangecheck in --get--
...
> Last OS error: 2
> Current file position is 4968
> AFPL Ghostscript 8.51: Unrecoverable error, exit code 1

This means the error is around character position 4968 of the file.
So you might go there (in emacs, C-u 4968 C-f) and
look around...

--jhawk




reply via email to

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