PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Incorrect handling of Rotate()

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
simbolo



Joined: 14 Jan 2009
Posts: 7
Location: London, United Kingdom

PostPosted: Tue May 19, 2009 4:29 am    Post subject: Incorrect handling of Rotate() Reply with quote

Bug raised, also discussed by another user at http://pdfsharp.s3.bizhat.com/viewtopic.php?t=610&highlight=rotate.

Scenario:

I have a Portrait PDF, with either no Rotation value set, or it is set to 0.

I rotate by 90 degrees, giving me a Rotation from 0 to 90, the content is 90 degrees to the right, but the page is still portrait (wrong).

I rotate the result by another 90, a rotation from 90 to 180. Now the content is upside down in portrait (correct).

I rotate the result by another 90, a rotation from 180 to 270. Now the content is on its side in landscape (correct).

I rotate the result by another 90, a rotation from 270 to 0. Now the content is standing in portrait (correct).

I rotate the result by another by 90 degrees, giving me a Rotation from 0 to 90, the content is 90 degrees to the right, but the page is still portrait (wrong).

This sequence can be reversed if I make the 0>90 manually landscape, thus making all the subsequent rotations wrong way round (with content clipped of the side of the page).

I have tried when going back to zero, to subtract the existing rotation, i.e., rather than jump from 270 to 0, rotate by -270 to rotate back anti-clockwise, but this has no effect.

Its worth noting that the content is rotated correctly each time, only the page orientation is coming up wrong (at least when loaded back into Adobe Reader).

Any thoughts?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com