summaryrefslogtreecommitdiff
path: root/dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch')
-rw-r--r--dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch b/dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch
new file mode 100644
index 00000000000..bf6bea78057
--- /dev/null
+++ b/dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch
@@ -0,0 +1,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/')
+ ]
+