aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/svg/PDFDocumentGraphics2D.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/svg/PDFDocumentGraphics2D.java')
-rw-r--r--src/org/apache/fop/svg/PDFDocumentGraphics2D.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/apache/fop/svg/PDFDocumentGraphics2D.java b/src/org/apache/fop/svg/PDFDocumentGraphics2D.java
index 2b67d0f83..86f6ff20a 100644
--- a/src/org/apache/fop/svg/PDFDocumentGraphics2D.java
+++ b/src/org/apache/fop/svg/PDFDocumentGraphics2D.java
@@ -59,14 +59,13 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D {
if(!textAsShapes) {
fontInfo = new FontInfo();
- FontSetup.setup(fontInfo);
+ FontSetup.setup(fontInfo, null);
//FontState fontState = new FontState("Helvetica", "normal",
// FontInfo.NORMAL, 12, 0);
}
standalone = true;
- this.pdfDoc = new PDFDocument();
- this.pdfDoc.setProducer("FOP SVG Renderer");
+ this.pdfDoc = new PDFDocument("FOP SVG Renderer");
graphicsState = new PDFState();