diff -ur skencil-orig/Sketch/Base/config.py skencil-new/Sketch/Base/config.py --- skencil-orig/Sketch/Base/config.py 2004-06-05 13:56:10.000000000 -0700 +++ skencil-new/Sketch/Base/config.py 2004-06-10 19:46:08.000000000 -0700 @@ -60,7 +60,8 @@ # On platforms other than Linux this probably needs a few additional # directories. (non-existing dirs are automatically removed) font_path = ['/usr/X11R6/lib/X11/fonts/Type1', - '/usr/share/ghostscript/fonts'] + '/usr/share/ghostscript/fonts', + '/usr/share/fonts'] # List of directories, where Skencil searches for resource files like diff -ur skencil-orig/Sketch/Lib/util.py skencil-new/Sketch/Lib/util.py --- skencil-orig/Sketch/Lib/util.py 2003-01-16 12:05:53.000000000 -0700 +++ skencil-new/Sketch/Lib/util.py 2004-06-10 21:09:23.000000000 -0700 @@ -136,11 +136,16 @@ # PATHS. Return the name of the first one found, None if no file is # found. def find_files_in_path(paths, files): - for path in paths: - for file in files: - fullname = os.path.join(path, file) - if os.path.isfile(fullname): - return fullname + stack = paths + while stack: + dir = stack.pop() + for file in os.listdir(dir): + fullname = os.path.join(dir, file) + if file in files: + if os.path.isfile(fullname): + return fullname + if os.path.isdir(fullname) and not os.path.islink(fullname): + stack.append(fullname) # Create the directory dir and its parent dirs when necessary