pdf output

I'm not sure yet how to fix the problem, but in the sample I sent
earlier if I change:

5 0 obj
<< /Length 11 0 R >>
endobj

to

5 0 obj
<< /Length 1239 >>
endobj

then both gv and acroread can process the file without error.

  - Paul

···

On Tue, Sep 11, 2007 at 08:49:05AM -0400, Michael Droettboom wrote:

This seems to be a cross platform bug and unrelated to fonts -- at least
I am able to reproduce it on Linux.

There was a small typo in the recently added support for non-rectangular
clip paths. Fixed in r3829.

(Jouni -- you may want to review this and verify that my change is correct.)

Cheers,
Mike

Paul Kienzle wrote:
> On Mon, Sep 10, 2007 at 04:19:24PM -0400, Michael Droettboom wrote:
>> Can you set "pdf.compression : 0" and send me a copy of the troublesome
>> PDF (probably best off list if it's a large file.)?
>
> I used the following:
>
> import pylab
> pylab.rc('pdf',compression=0)
> plyab.plot([1,2,3],[1,2,3])
> pylab.savefig('simple.pdf')
>
> See attached.
>
>> Do you know what set of fonts are getting embedded? If their not in the
>> mpl set, it's possible they haven't been tested.
>
> Should be the standard set, but I haven't verified.
>
> - Paul

--
Michael Droettboom
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA