Now, you've got a mismatch URL != URI. It is really a URI. Jeremias Maerki
On 31.10.2007 00:44:40 acumiskey wrote: > Author: acumiskey > Date: Tue Oct 30 16:44:39 2007 > New Revision: 590514 > > URL: http://svn.apache.org/viewvc?rev=590514&view=rev > Log: > Simple renaming of method following patch that was recently applied > http://issues.apache.org/bugzilla/show_bug.cgi?id=42982 > > Modified: > xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontLoader.java > > Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontLoader.java > URL: > http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontLoader.java?rev=590514&r1=590513&r2=590514&view=diff > ============================================================================== > --- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontLoader.java > (original) > +++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontLoader.java Tue > Oct 30 16:44:39 2007 > @@ -117,7 +117,7 @@ > if (log.isDebugEnabled()) { > log.debug("opening " + effURI); > } > - InputStream in = openFontFile(resolver, effURI); > + InputStream in = openFontUrl(resolver, effURI); > return loadFontFromInputStream(fontFileURI, resolver, type1, in); > } > > @@ -155,7 +155,7 @@ > * @throws IOException In case of an I/O error > * @throws MalformedURLException If an invalid URL is built > */ > - private static InputStream openFontFile(FontResolver resolver, String > uri) > + private static InputStream openFontUrl(FontResolver resolver, String > uri) > throws IOException, MalformedURLException { > InputStream in = null; > if (resolver != null) {