Hi,
 I have a PDF that I am changing the art,trim,crop and media boxes,
using PdfContentByte.ConcatCTM
and writing to a PdfStamper object. This has always worked, until I came
across this one PDF file. It seems that when I set the offset of the page
all but one logo is moving. You can see the offset in the screen shot
supplied. This is a single page PDF, can anyone think of what could possibly
causing this. I have never seen this happen to any pdf before, normally when
its offset the entire pdf moves as expected. I can furnish the PDF if anyone
would like to see it, its 19meg.

This is the main guts to the code:
byte[] b = Reader.GetPageContent(page);
PdfContentByte cb = new PdfContentByte(null);
cb.ConcatCTM(1, 0, 0, 1, -5f, -5f);


Thank you for any idea's!
Dean

<<attachment: badMovment.png>>

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to