Problem in with 0.98.3

I have a problem with every matplot version since 0.90.1. One of my
installed fonts causes to bail out. I am sure I reported this
problem before without reaction. After I installed python 1.6 and a
recent numpy 0.90.1 does not work anymore so I tried the latest again,
and get the afm error again:

python -i -c "from matplotlib import pylab"

/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/ DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, os, re, shutil, sys, warnings
/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/pytz/ DeprecationWarning: the sets module is deprecated
  from sets import Set
Found an unknown keyword in AFM header (was MetricsSets)
Found an unknown keyword in AFM header (was IsBaseFont)
Found an unknown keyword in AFM header (was IsCIDFont)
Found an unknown keyword in AFM header (was StartDirection)
Found an unknown keyword in AFM header (was EndDirection)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 206, in <module>
    from matplotlib import mpl # pulls in most modules
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 2, in <module>
    from matplotlib import axis
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 9, in <module>
    import matplotlib.font_manager as font_manager
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 1129, in <module>
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 1120, in _rebuild
    fontManager = FontManager()
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 910, in __init__
    self.afmdict = createFontDict(self.afmfiles, fontext='afm')
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 521, in createFontDict
    prop = afmFontProperty(font)
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 420, in afmFontProperty
    name = font.get_familyname()
  File "/usr/local/lib/python2.6/site-packages/matplotlib-0.98.3-py2.6-linux-i686.egg/matplotlib/", line 440, in get_familyname
    return self._header['FamilyName']
KeyError: 'FamilyName'

import pdb


-> return self._header['FamilyName']
(Pdb) print self._header
{'Notice': 'Copyright (c) 1999 Ministry of Education, Taipei, Taiwan. All Rights Reserved.', 'Ascender': 880.0, 'FontBBox': [-123, -250, 1000, 880], 'Weight': 'Regular', 'Descender': -250.0, 'CharacterSet': 'Adobe-CNS1-0', 'IsFixedPitch': False, 'FontName': 'MOEKai-Regular', 'StartFontMetrics': 4.0999999999999996, 'CapHeight': 880.0, 'Version': '1.000', 'UnderlinePosition': -100, 'Characters': 13699, 'UnderlineThickness': 50, 'ItalicAngle': 0.0, 'StartCharMetrics': 13699}

What is there to do?



A: Weil es die Lesbarkeit des Textes verschlechtert.
F: Warum ist TOFU so schlimm?
F: Was ist das größte Ärgernis im Usenet?