Hi,
I'm using iText to create a PDF file from a java program that outputs stuff to the printer. I just substitute the Graphics2D object I get from PdfContentByte and let iText do its magical stuff. Voila, it works very well, except for...
 
In my code, I save the Transform using Graphics2D's getTransform() and then do some text drawings at various locations. Then I do a setTransform to restore the previously saved transform. I notice that iText modifies the saved Transform while doing its drawing - that is, it does not create a local copy, so that later on in the code, when I use the saved Transform again, it has been unexpectedly modified by iText. This is inconsistent with Java's behaviour.
Thanks,
Ben
 


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Reply via email to