[Python-modules-commits] r12364 - in packages/aafigure/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Thu Mar 25 10:10:58 UTC 2010


    Date: Thursday, March 25, 2010 @ 10:10:52
  Author: jwilk
Revision: 12364

* New upstream release:
  + Drop patch to use Liberation fonts, no longer needed.

Modified:
  packages/aafigure/trunk/debian/changelog
  packages/aafigure/trunk/debian/patches/series
Deleted:
  packages/aafigure/trunk/debian/patches/ttf-liberation.patch

Modified: packages/aafigure/trunk/debian/changelog
===================================================================
--- packages/aafigure/trunk/debian/changelog	2010-03-24 19:07:51 UTC (rev 12363)
+++ packages/aafigure/trunk/debian/changelog	2010-03-25 10:10:52 UTC (rev 12364)
@@ -1,5 +1,7 @@
-aafigure (0.4-3) UNRELEASED; urgency=low
+aafigure (0.5-1) UNRELEASED; urgency=low
 
+  * New upstream release:
+    + Drop patch to use Liberation fonts, no longer needed.
   * Bump standards version to 3.8.4 (no changes needed).
   * Switch to source format 3.0 (quilt).
   * Update my e-mail address.

Modified: packages/aafigure/trunk/debian/patches/series
===================================================================
--- packages/aafigure/trunk/debian/patches/series	2010-03-24 19:07:51 UTC (rev 12363)
+++ packages/aafigure/trunk/debian/patches/series	2010-03-25 10:10:52 UTC (rev 12364)
@@ -1 +0,0 @@
-ttf-liberation.patch

Deleted: packages/aafigure/trunk/debian/patches/ttf-liberation.patch
===================================================================
--- packages/aafigure/trunk/debian/patches/ttf-liberation.patch	2010-03-24 19:07:51 UTC (rev 12363)
+++ packages/aafigure/trunk/debian/patches/ttf-liberation.patch	2010-03-25 10:10:52 UTC (rev 12364)
@@ -1,19 +0,0 @@
-Use free Liberation fonts rather than Microsoft core fonts.
-
-diff --git a/aafigure/pil.py b/aafigure/pil.py
---- a/aafigure/pil.py
-+++ b/aafigure/pil.py
-@@ -35,10 +35,11 @@
-         else:
-             # XXX find a good way to locate font files... as the following does not
-             # work on all platforms
-+            template = '/usr/share/fonts/truetype/ttf-liberation/Liberation%s.ttf'
-             if options['proportional']:
--                self.font = 'Arial.ttf'
-+                self.font = template % 'Sans-Regular'
-             else:
--                self.font = 'Courier_New.ttf'
-+                self.font = template % 'Mono-Regular'
- 
-     def visit_image(self, aa_image):
-         """Process the given ASCIIArtFigure and draw the shapes in




More information about the Python-modules-commits mailing list