|
From: Andre W. <wo...@us...> - 2005-07-27 10:43:32
|
Hi, On 27.07.05, André Wobst wrote: > - writer modules: > - writebbox option to write bbox information (disabled by default) > even when a paper format is specified (PS and PDF writers only) I've just checked a change to not write bbox information in PS and PDF documents anymore when a paperformat is given (as it was requested by some folks). At the same time we do not have a default paperformat setting default as we introduced it in PyX 0.8 by accident. Unfortunately there is a bad behaviour in this new version, that a PDF file created with PyX, centered on a page (i.e. no paperformat given) is clipped in ghostview to positive coordinates. It seems a bug in the ghostview/ghostscript communication, since ghostscript does it properly (it takes into account the negative MediaBox information, which is not declared invalid in the PDF spec.). To get the old behaviour, which works with ghostscript you have to specify a paperformat and enable the writebbox option. Is this a reasonable approach or should we discuss this again before 0.8.1 release? André -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ |