Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37714772
en ru br
Репозитории ALT
5.1: 0.99.0-alt2
4.1: 0.91.2-alt1
4.0: 0.90.0-alt1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-matplotlib

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: python-module-matplotlib.patch
Скачать


--- lib/matplotlib/afm.py.orig	2007-11-30 05:36:48 +0300
+++ lib/matplotlib/afm.py	2008-03-04 00:42:27 +0300
@@ -440,8 +440,8 @@ class AFM:
         return self._header['FamilyName']
 
     def get_weight(self):
-        "Return the font weight, eg, 'Bold' or 'Roman'"
-        return self._header['Weight']
+        "Return the font weight, eg, 'Bold' or 'Roman'. Hack due Weight field problem."
+        return 'Roman'
 
     def get_angle(self):
         "Return the fontangle as float"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin