aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/svg/PDFTranscoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/svg/PDFTranscoder.java')
-rw-r--r--src/org/apache/fop/svg/PDFTranscoder.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/apache/fop/svg/PDFTranscoder.java b/src/org/apache/fop/svg/PDFTranscoder.java
index 73d5fcb46..21f5b5641 100644
--- a/src/org/apache/fop/svg/PDFTranscoder.java
+++ b/src/org/apache/fop/svg/PDFTranscoder.java
@@ -186,6 +186,7 @@ public class PDFTranscoder extends XMLAbstractTranscoder {
AffineTransform currentTransform = new AffineTransform(1, 0, 0, 1, 0, 0);
pdfAElementBridge.setCurrentTransform(currentTransform);
ctx.putBridge(pdfAElementBridge);
+ ctx.putBridge(new PDFImageElementBridge());
GraphicsNode gvtRoot;
try {
gvtRoot = builder.build(ctx, svgDoc);
@@ -377,6 +378,11 @@ public class PDFTranscoder extends XMLAbstractTranscoder {
}
}
+ public String getMedia() {
+ return "";
+ }
+
+
/**
* Returns the user stylesheet specified in the
* <tt>TranscodingHints</tt> or null if any.