summaryrefslogtreecommitdiff
path: root/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py
blob: 8ccdf1294ad128ba3f1c6bc1155617de46746ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/blockdiag/utils/bootstrap.py.orig	2021-12-06 16:43:47 UTC
+++ src/blockdiag/utils/bootstrap.py
@@ -255,11 +255,7 @@ class Options(object):
 def detectfont(options):
     import glob
     fontdirs = [
-        '/usr/share/fonts',
-        '/Library/Fonts',
-        '/System/Library/Fonts',
-        'c:/windows/fonts',
-        '/usr/local/share/font-*',
+        '%%LOCALBASE%%/share/fonts',
     ]
     fontfiles = [
         'ipagp.ttf',