* [gentoo-commits] gentoo-x86 commit in dev-python/mwlib-rl/files: 0.14.3-use-system-fonts.patch
@ 2013-07-01 11:30 Tiziano Mueller (dev-zero)
0 siblings, 0 replies; only message in thread
From: Tiziano Mueller (dev-zero) @ 2013-07-01 11:30 UTC (permalink / raw
To: gentoo-commits
dev-zero 13/07/01 11:30:22
Added: 0.14.3-use-system-fonts.patch
Log:
Initial commit, required by recent mwlib/mediawiki to get working pdf-generation solution.
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0x1E0CA85F!)
Revision Changes Path
1.1 dev-python/mwlib-rl/files/0.14.3-use-system-fonts.patch
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
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
Index: 0.14.3-use-system-fonts.patch
===================================================================
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/')
]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-01 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-01 11:30 [gentoo-commits] gentoo-x86 commit in dev-python/mwlib-rl/files: 0.14.3-use-system-fonts.patch Tiziano Mueller (dev-zero)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox