summaryrefslogtreecommitdiff
path: root/dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch
blob: bf6bea78057b00812680baa1694bde2691cb124f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/mwlib/rl/fontconfig.py b/mwlib/rl/fontconfig.py
index fdf5cba..ab792df 100755
--- a/mwlib/rl/fontconfig.py
+++ b/mwlib/rl/fontconfig.py
@@ -14,7 +14,7 @@ from reportlab.pdfbase import pdfmetrics
 from reportlab.pdfbase.ttfonts import TTFont
 from reportlab.pdfbase.cidfonts import UnicodeCIDFont
 
-font_paths = [os.path.dirname(mwlib.fonts.__file__),
+font_paths = ['/usr/share/fonts',
               os.path.expanduser('~/mwlibfonts/')
               ]