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

Bug#355757: (no subject)



On 2007-03-01 11:41:37 +0100, Vincent Lefevre wrote:
> I'm not sure it is contradictory, but the discussion in bug 365506
> gave a wrong solution. The bug reporter said that the PS file was
> for A4 paper size, but was converted to Letter paper size (but this
> is strange since ps2pdf seems to run fine here). What I suggest
> would be consistent with what is required in this bug: keep the
> original paper size. For instance, what if the user had an A3 or
> US-Legal (i.e. larger than A4) PS file and wanted to convert it to
> PDF? Using /etc/papersize here would clearly be a bad choice.

Well, when I'm saying that ps2pdf seems to run fine, in fact this
depends on the file. When /etc/papersize is empty (to provide no
defaults -- i.e. letter is the default), ps2pdf converts some A4
files into A4 (that's OK), but some other ones (landscape ones?)
into letter, though both contain:

%%DocumentPaperSizes: a4

But perhaps there is some detection based on the bounding box which
doesn't work reliably. The landscape file has:

%%BoundingBox: 0 0 595 842

while the portrait file has:

%%BoundingBox: 0 0 596 842

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)




Reply to: