From 2439bfdbbd650b9845ebc29b1ba9ccea19a074fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 28 Sep 2010 18:31:50 +0200 Subject: [PATCH] Remove DejaVu fonts --- export.py | 2 +- setup.py | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/export.py b/export.py index 55e10f5..a5049a8 100644 --- a/export.py +++ b/export.py @@ -39,7 +39,7 @@ PAGE_HEIGHT=defaultPageSize[1] PAGE_WIDTH=defaultPageSize[0] # FONT REGISTRATION -font_dir = local.find_data_directory("fonts") +font_dir = '/usr/share/fonts/dejavu' if not font_dir: print >> sys.stderr, """Cannot find the 'fonts' dir - the output might be ugly""" else: diff --git a/setup.py b/setup.py index 94c274b..496867a 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,6 @@ for d in os.listdir('icons'): data_files = [('share/dsgui/doc', ['doc/index.html','doc/style.css']+ glob.glob('doc/*.png')), ('share/dsgui/icons',glob.glob('icons/*.png')+glob.glob('icons/*.svg')), - ('share/dsgui/fonts',glob.glob('fonts/*')), ('share/dsgui/ui',glob.glob('ui/*.ui')), ] + localizations -- 1.7.2.2