Группа :: Разработка/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"