]> source.dussan.org Git - xmlgraphics-fop.git/commit
Restored PDFDocumentGraphics2D functionality.
authorJeremias Maerki <jeremias@apache.org>
Sat, 15 Oct 2011 10:32:15 +0000 (10:32 +0000)
committerJeremias Maerki <jeremias@apache.org>
Sat, 15 Oct 2011 10:32:15 +0000 (10:32 +0000)
commit87f892d9d8b3e6459e19538156a70632a1bb4e6f
treece71188530503cdc6056c8d9211f8f794b6ddfad
parent25d268f166c66aa8ac5ffb102ab49ec9f88d667c
Restored PDFDocumentGraphics2D functionality.
Bugfix: NPE after PDFDocumentGraphics2D.create() due to missing font setup and other missing initializations.
Bugfix: Properly handle state in PDFGraphics2D.drawString().
Added an example class demonstrating the use of PDFDocumentGraphics2D.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1183620 13f79535-47bb-0310-9956-ffa450edef68
examples/embedding/java/embedding/ExampleJava2D2PDF.java [new file with mode: 0644]
src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java
src/java/org/apache/fop/svg/PDFGraphics2D.java
status.xml
test/java/org/apache/fop/UtilityCodeTestSuite.java
test/java/org/apache/fop/pdf/PDFDocumentGraphics2DTestCase.java [new file with mode: 0644]