diff options
author | Manuel Mall <manuel@apache.org> | 2006-01-07 13:15:53 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2006-01-07 13:15:53 +0000 |
commit | 8faab42c21e565d859e8caa0c56df1c2a8748dea (patch) | |
tree | 998c86d83823706d64f5af8b7cca548f22ec6da8 /src/sandbox | |
parent | 5c359c10e6131572e46745dfe46c4c556e361ea0 (diff) | |
download | xmlgraphics-fop-8faab42c21e565d859e8caa0c56df1c2a8748dea.tar.gz xmlgraphics-fop-8faab42c21e565d859e8caa0c56df1c2a8748dea.zip |
Added support for relative font config URLs (metrics-url and embed-url). These URLs are now resolved through the FOP config URI resolver. A new configuration item font-base has been added which defines the base URL to be used for resolution of the font URLs. If it is not given the normal FOP base URL is used. Unrelated to this feature the patch also contains a new image class (java 1.4 specific) for JPEG images. This is for renderers (e.g. AFP) which require access to the decoded JPEG.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366718 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/sandbox')
-rw-r--r-- | src/sandbox/org/apache/fop/render/mif/MIFHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sandbox/org/apache/fop/render/mif/MIFHandler.java b/src/sandbox/org/apache/fop/render/mif/MIFHandler.java index c9ef2a53e..0e1b83f6d 100644 --- a/src/sandbox/org/apache/fop/render/mif/MIFHandler.java +++ b/src/sandbox/org/apache/fop/render/mif/MIFHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 1999-2005 The Apache Software Foundation. + * Copyright 1999-2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -80,7 +80,7 @@ public class MIFHandler extends FOEventHandler { public MIFHandler(FOUserAgent ua, OutputStream os) { super(ua); outStream = os; - FontSetup.setup(fontInfo, null); + FontSetup.setup(fontInfo, null, ua); } /** |