~ubuntu-branches/ubuntu/saucy/fop/saucy-proposed

« back to all changes in this revision

Viewing changes to test/java/org/apache/fop/visual/AbstractPSPDFBitmapProducer.java

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-05-21 12:21:26 UTC
  • mfrom: (15.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20130521122126-3c9r5fo6ountjg6r
Tags: 1:1.1.dfsg-2ubuntu1
* Merge from Debian unstable.  Remaining changes:
  -  Transition libservlet2.5-java -> libservlet3.0-java.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * limitations under the License.
16
16
 */
17
17
 
18
 
/* $Id: AbstractPSPDFBitmapProducer.java 746664 2009-02-22 12:40:44Z jeremias $ */
 
18
/* $Id: AbstractPSPDFBitmapProducer.java 985537 2010-08-14 17:17:00Z jeremias $ */
19
19
 
20
20
package org.apache.fop.visual;
21
21
 
122
122
        try {
123
123
            FOUserAgent userAgent = fopFactory.newFOUserAgent();
124
124
            userAgent.setTargetResolution(context.getTargetResolution());
125
 
            userAgent.setBaseURL(src.getParentFile().toURL().toString());
 
125
            userAgent.setBaseURL(src.getParentFile().toURI().toURL().toString());
126
126
 
127
127
            File tempOut = new File(context.getTargetDir(),
128
128
                    src.getName() + "." + index + "." + getTargetExtension());