From: | "Tiziano Mueller (dev-zero)" <dev-zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/mwlib-rl/files: 0.14.3-use-system-fonts.patch |
Date: | Mon, 01 Jul 2013 11:30:25 |
Message-Id: | 20130701113022.5DCE320081@flycatcher.gentoo.org |
1 | dev-zero 13/07/01 11:30:22 |
2 | |
3 | Added: 0.14.3-use-system-fonts.patch |
4 | Log: |
5 | Initial commit, required by recent mwlib/mediawiki to get working pdf-generation solution. |
6 | |
7 | (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0x1E0CA85F!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 0.14.3-use-system-fonts.patch |
16 | =================================================================== |
17 | diff --git a/mwlib/rl/fontconfig.py b/mwlib/rl/fontconfig.py |
18 | index fdf5cba..ab792df 100755 |
19 | --- a/mwlib/rl/fontconfig.py |
20 | +++ b/mwlib/rl/fontconfig.py |
21 | @@ -14,7 +14,7 @@ from reportlab.pdfbase import pdfmetrics |
22 | from reportlab.pdfbase.ttfonts import TTFont |
23 | from reportlab.pdfbase.cidfonts import UnicodeCIDFont |
24 | |
25 | -font_paths = [os.path.dirname(mwlib.fonts.__file__), |
26 | +font_paths = ['/usr/share/fonts', |
27 | os.path.expanduser('~/mwlibfonts/') |
28 | ] |