Invalid (trancated) PDFs in Web application

Torsten Bronger <bronger@...669...> writes:

Thus, this is the trailing part which is missing:

Does anybody has an idea at which point and why Matplotlib stops

The missing parts are the xref table and the trailer, which are written
by functions called by close():

    def close(self):
        # End the content stream and write out the various deferred
        # objects
        if not self.passed_in_file_object:

So it looks like writeMarkers() has been called but writeXref() has not.


Jouni K. Sepp�nen