summaryrefslogtreecommitdiff
path: root/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py
blob: 22421d18ee646089f33d0768cd8b07b5b225b8b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/blockdiag/utils/bootstrap.py.orig	2013-09-30 22:19:06.000000000 +0900
+++ src/blockdiag/utils/bootstrap.py	2014-01-02 16:19:04.000000000 +0900
@@ -222,11 +222,7 @@
 def detectfont(options):
     import glob
     fontdirs = [
-        '/usr/share/fonts',
-        '/Library/Fonts',
-        '/System/Library/Fonts',
-        'c:/windows/fonts',
-        '/usr/local/share/font-*',
+        '%%LOCALBASE%%/share/font-*',
     ]
     fontfiles = [
         'ipagp.ttf',