Add the following line to PdfGraphics2D.create() (insert before line 
904, though the exact position doesn't really matter):

g2.rhints.putAll( this.rhints );


While I was at it, I noticed several other members aren't copied:
currentFillGState
currentStrokeGState
underline
paintFill
paintStroke
alpha
composite
realPaint


I'll leave this as an Exercise For The Reader.

--Mark Storer


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to