diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-08-17 13:14:25 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-08-17 13:14:25 +0000 |
commit | c52db65ef80d7cd0e163f711117ef9a81f2fba34 (patch) | |
tree | 6beabec9976b6914bf5571d8965ed165b84cc569 /src/java/org/apache/fop/cli | |
parent | 726e1ef3093bedfd6671c2e6471e0d62ef605be5 (diff) | |
download | xmlgraphics-fop-c52db65ef80d7cd0e163f711117ef9a81f2fba34.tar.gz xmlgraphics-fop-c52db65ef80d7cd0e163f711117ef9a81f2fba34.zip |
Bugzilla#53751: Slightly restructured the way the FontCache creates a cache-file
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1374238 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/cli')
-rw-r--r-- | src/java/org/apache/fop/cli/CommandLineOptions.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index 886e27527..7a11df71a 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -421,7 +421,7 @@ public class CommandLineOptions { throw new FOPException("if you use '-cache', you must specify " + "the name of the font cache file"); } else { - factory.getFontManager().setCacheFile(new File(args[i + 1])); + factory.getFontManager().setCacheFile(URI.create(args[i + 1])); return 1; } } |