diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2014-01-30 21:35:49 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2014-01-30 21:35:49 +0000 |
commit | a4d5aac4e5926a2d94d70e1d71b06d26c1996184 (patch) | |
tree | 6d1fa18dc78fb82e60472c56b90969c9b9c78faf /src/java/org/apache/fop | |
parent | fa8497b7607729ed73dd40890583140f47e8ad7f (diff) | |
download | xmlgraphics-fop-a4d5aac4e5926a2d94d70e1d71b06d26c1996184.tar.gz xmlgraphics-fop-a4d5aac4e5926a2d94d70e1d71b06d26c1996184.zip |
Fixed Checkstyle issues
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FopFontsForSVG@1562983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/render/afp/AFPSVGHandler.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/afp/AFPSVGHandler.java b/src/java/org/apache/fop/render/afp/AFPSVGHandler.java index ccb4cc678..e05bc007c 100644 --- a/src/java/org/apache/fop/render/afp/AFPSVGHandler.java +++ b/src/java/org/apache/fop/render/afp/AFPSVGHandler.java @@ -200,8 +200,9 @@ public class AFPSVGHandler extends AbstractGenericSVGHandler { public static BridgeContext createBridgeContext(FOUserAgent userAgent, AFPGraphics2D g2d) { ImageManager imageManager = userAgent.getImageManager(); FontInfo fontInfo = g2d.getFontInfo(); - SVGUserAgent svgUserAgent = new SVGUserAgent(userAgent, new AggregatingFontFamilyResolver( - new AFPFontFamilyResolver(fontInfo, userAgent.getEventBroadcaster()), DefaultFontFamilyResolver.SINGLETON), + SVGUserAgent svgUserAgent = new SVGUserAgent(userAgent, + new AggregatingFontFamilyResolver(new AFPFontFamilyResolver(fontInfo, userAgent.getEventBroadcaster()), + DefaultFontFamilyResolver.SINGLETON), new AffineTransform()); ImageSessionContext imageSessionContext = userAgent.getImageSessionContext(); return new AFPBridgeContext(svgUserAgent, fontInfo, imageManager, imageSessionContext, |