]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added /usr/local/share/fonts as additional possible location for fonts on Unixes.
authorJeremias Maerki <jeremias@apache.org>
Thu, 8 May 2008 09:14:04 +0000 (09:14 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 8 May 2008 09:14:04 +0000 (09:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@654453 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fonts/autodetect/UnixFontDirFinder.java

index 55a7ae1c02014dcc5c31ff090cb728fd03589113..d59fd5c7e22d5d07c2e6df3a39c71c6b0f107355 100644 (file)
@@ -32,6 +32,7 @@ public class UnixFontDirFinder extends NativeFontDirFinder {
         return new String[] {
             System.getProperty("user.home") + "/.fonts", // user
             "/usr/local/fonts", // local
+            "/usr/local/share/fonts", // local shared
             "/usr/share/fonts", // system
             "/usr/X11R6/lib/X11/fonts" // X
         };