[NTG-pdftex] [Bugfix] /Rotate
Martin Schroeder
ms@artcom-gmbh.de
Fri, 26 Sep 2003 16:02:32 +0200
--tSiBuZsJmMXpnp7T
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Hi,
we have the first bug(fix) for 1.11a: When included pdfs have the
/Rotate key set to 90 or 270, they become displaced.
Attached are two files:
- rotate.tex
Generates a 4 page document where each page is rotated
differently, has a cropbox set and marks to measure the
displacement.
- test.tex
Includes all pages of rotated and shows displacement.
I've just submitted a bug fix (#4094); please test it.
Thanks to Dr. Thomas Risse for submitting the bug.
Best regards
Martin
--
Martin Schröder, MS@ArtCom-GmbH.DE
ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
Voice +49 421 20419-44 / Fax +49 421 20419-10
--tSiBuZsJmMXpnp7T
Content-Type: application/x-tex
Content-Disposition: attachment; filename="rotate.tex"
Content-Transfer-Encoding: quoted-printable
% $Id: rotate.tex,v 1.1 2003/09/26 12:30:38 ms Exp $=0A\documentclass{artic=
le}=0A\usepackage[pdftex]{geometry}=0A\geometry{verbose,=0A nohead=
foot,=0A papersize=3D{360bp,385bp},=0A body=3D{275bp,225b=
p},=0A lmargin=3D50bp,=0A tmargin=3D85bp}=0A\pagestyle{em=
pty}=0A\setlength{\unitlength}{1bp}=0A\setlength{\parindent}{0pt}=0A\lineth=
ickness{0.1bp}=0A\pdfpagesattr{/CropBox [50 75 325 300] }=0A\newcommand*{\=
testbox}{%=0A \begin{picture}(275,225)=0A \multiput(1,0)(273,0){2}{\line(=
0,1){225}}=0A \multiput(0,1)(0,223){2}{\line(1,0){275}}=0A %=0A \put(1,1=
12.5){\line(1,0){273}}=0A \multiput(1,107.5)(10,0){28}{\line(0,1){10}}=0A =
\multiput(1,111.5)(1,0){274}{\line(0,1){2}}=0A %=0A \put(137.5,1){\line(=
0,1){223}}=0A \multiput(132.5,1)(0,10){23}{\line(1,0){10}}=0A \multiput(1=
36.5,1)(0,1){224}{\line(1,0){2}}=0A %=0A \put( 1,112.5){\makebox(136.5=
,110.5){1}}=0A \put(137.5,112.5){\makebox(136.5,110.5){2}}=0A \put(137.5,=
1){\makebox(136.5,110.5){3}}=0A \put( 1, 1){\makebox(136.5,110.5=
){4}}=0A \end{picture}%=0A }=0A\begin{document}=0A\testbox=0A\newpage\pdf=
pageattr{/Rotate 90}\testbox=0A\newpage\pdfpageattr{/Rotate 180}\testbox=0A=
\newpage\pdfpageattr{/Rotate 270}\testbox=0A\end{document}=0A
--tSiBuZsJmMXpnp7T
Content-Type: application/x-tex
Content-Disposition: attachment; filename="test.tex"
Content-Transfer-Encoding: quoted-printable
\listfiles=0A\pdfoptionalwaysusepdfpagebox=3D0=0A\pdfcompresslevel=3D0=0A\d=
ocumentclass[pdftex,a4paper]{article}=0A\usepackage{geometry}=0A\usepackage=
{graphicx}=0A\setlength{\fboxsep}{0pt}=0A\pagestyle{empty}=0A\begin{documen=
t}=0A\fbox{\includegraphics[page=3D1]{rotate}}=0A=0A\fbox{\includegraphics[=
page=3D2]{rotate}}=0A=0A\fbox{\includegraphics[page=3D3]{rotate}}=0A=0A\fbo=
x{\includegraphics[page=3D4]{rotate}}=0A\end{document}=0A
--tSiBuZsJmMXpnp7T--