From: John H. <jdh...@ac...> - 2004-11-02 18:50:10
|
>>>>> "Jochen" == Jochen Voss <vo...@se...> writes: Jochen> Is there a reason for storing the PostScript data in a Jochen> string first? Otherwise I could just pass the real file Jochen> handle to RendererPS and it would write all the stuff Jochen> directly into the output file. The reason I did it (I think) was for efficiency, (wrongly) thinking it would be faster to write to StringIO than to a file object. Of course, file objects buffer their output, so this is not a real consideration. I think its fine to make the change you suggested - while you're in there, I suggest supporting writing to a file object as well as a filename, as agg does now. All backends should support this. JDH |