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

Bug#355757: your mail



reopen 355757
thanks

On 2007-02-27 14:39:30 -0700, Oleksandr Moskalenko wrote:
> This is not a bug. It seems that ps2pdf uses gs and sets the paper size
> appropriate to your locale. If you use "ps2pdf -sPAPERSIZE=a4 slides.ps" you
> would get your desired paper size as my testing shows. I suppose setting
> LC_PAPER could produce the same result - untested though.

I disagree concerning this behavior. The ps2pdf documentation doesn't
say that the result depends on the locales, and it shouldn't (as for
any conversion program): ps2pdf should keep the same page size as the
one declared in the PS file. Using -sPAPERSIZE=a4 is not a solution
since the page size may be different. Though one could write a wrapper
that would grep the page size declared in the PS file, this behaviour
should be the default. The locales are useful (as a default) only when
the information isn't available.

-- 
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: