[dev-context] wrong paper orientation with pstopdf

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Jul 24 10:58:27 CEST 2006

On 7/24/06, Hans Hagen wrote:
> Mojca Miklavec wrote:
> > Hello, Hans,
> >
> > Do you remember some strange 90 degrees rotation in the gnuplot
> > module? I thougt that gnuplot did a strange job, but now I found out
> > that it was indeed pstopdf's fault.
> >
> > The option
> >     -dAutoRotatePages=/None
> > should be either removed or changed somehow, otherwise landscape
> > figures rotate for 90 degrees, which is wrong.
> >
> is this related to the version of GS that you run? i suppose that /None
> should leave rotation untouched;

Citing from some webpage:
There is a distiller setting for controlling automatic detection of
orientation. The default is -dAutoRotatePages=/PageByPage. This can be
set to /None if you want to manually determine the orientation.

I understand this in such a way that /None waits for some orientation
to be passed manually, so it automatically applies portrait, while
PageByPage respects the orientation provided by the original PS
document. Maybe I'm wrong, but I never had any problems wih
orientation if I left dAutoRotatePages untouched.

How can I crop EPS figures with pstopdf? -dEPSCrop is commented out in gs.rb.


More information about the dev-context mailing list