diff options
author | Jeremias Maerki <jeremias@apache.org> | 2010-07-19 07:02:34 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2010-07-19 07:02:34 +0000 |
commit | 18f6399908620ae4af6fba51b074744b36a6d4c2 (patch) | |
tree | 681a4bb658d04a15209b7118896538a302f00fef | |
parent | 32b7c837825453538b67f115e255327c35c57c6b (diff) | |
download | xmlgraphics-fop-18f6399908620ae4af6fba51b074744b36a6d4c2.tar.gz xmlgraphics-fop-18f6399908620ae4af6fba51b074744b36a6d4c2.zip |
Added missing PDFColorHandler to PDFDocumentGraphics2D.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@965368 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java index c38b753ba..7d777fa14 100644 --- a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java @@ -34,6 +34,7 @@ import org.apache.fop.Version; import org.apache.fop.fonts.FontInfo; import org.apache.fop.fonts.FontSetup; import org.apache.fop.pdf.PDFAnnotList; +import org.apache.fop.pdf.PDFColorHandler; import org.apache.fop.pdf.PDFDocument; import org.apache.fop.pdf.PDFFilterList; import org.apache.fop.pdf.PDFNumber; @@ -98,6 +99,7 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D { this.pdfDoc = new PDFDocument("Apache FOP Version " + Version.getVersion() + ": PDFDocumentGraphics2D"); this.pdfContext = new PDFContext(); + this.colorHandler = new PDFColorHandler(this.pdfDoc.getResources()); } /** |