[XeTeX] [tex-live] -dAutoRotatePages=/None in the distiller_template

Philip Taylor P.Taylor at Rhul.Ac.Uk
Thu Nov 5 06:03:43 CET 2015


I don't understand the details of this at all, Akira-san, but would it
explain why, after I had carefully rotated a PDF figure by 90% in Adobe
Acrobat, I found that that the rotation was lost when that same
(rotated) figure was imported using XeTeX's \XeTeXpdffile ?

I found had to explicitly rotate it for a second time at the point of
inclusion using \XeTeXpdfile's "rotated" keyword.

** Phil.
--------

> My friends ask to add '-dAutoRotatePages=/None' in the D section
> in dvipdfmx.cfg:
> 
> D  "rungs -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0
> -sDEVICE=pdfwrite -dAutoRotatePages=/None -dCompatibilityLevel=%v
> -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode
> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode
> -sOutputFile='%o' '%i' -c quit"  (actually a single line).
> 
> Ghostscript sometimes automatically adds /Rotate command in the
> eps --> pdf conversion, that is very annoying, because the original
> BoundingBox is ignored.  Further, the present (x)dvipdfmx
> does not support /Rotate command.
> Thus I think '-dAutoRotatePages=/None' is very desirable in the
> distiller_template.
> 
> Please see an attached test.tar.gz, which contains dnorm.eps,
> dnorm.pdf, dnorm-rot.pdf, and README.txt.
> 
> Thanks,
> Akira


More information about the XeTeX mailing list