]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #53143: Ensure fonts are not loaded twice (redundantly).
authorGlenn Adams <gadams@apache.org>
Tue, 24 Apr 2012 22:28:42 +0000 (22:28 +0000)
committerGlenn Adams <gadams@apache.org>
Tue, 24 Apr 2012 22:28:42 +0000 (22:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330050 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java
status.xml

index 3c1a94f63f92c487641cd42391cd9790da9fb69f..8100c4b9bfa3e469731cfa5bdec6e3e6296cfbfd 100644 (file)
@@ -168,7 +168,6 @@ public class FontFileFinder extends DirectoryWalker implements FontFinder {
      */
     public List<URL> find(String dir) throws IOException {
         List<URL> results = new java.util.ArrayList<URL>();
-        super.walk(new File(dir), results);
         File directory = new File(dir);
         if (!directory.isDirectory()) {
             eventListener.fontDirectoryNotFound(this, dir);
index 1e5ea7dfb5b264461fa190b6fc4a19443552aab9..4b68a6494e9df5e98610b064cabd56c247dabaae 100644 (file)
@@ -63,6 +63,9 @@
       documents. Example: the fix of marks layering will be such a case when it's done.
     -->
     <release version="FOP Trunk" date="TBD">
+      <action context="Fonts" dev="GA" type="fix" fixes-bug="53143">
+        Ensure fonts are not loaded twice (redundantly).
+      </action>
       <action context="Test" dev="GA" type="update" fixes-bug="50196" due-to="Matthias Reischenbacher">
         Add test for basic-link with padding.
       </action>