Font problem on import of pylab

Hello,

With matplotlib-0.91.2 as well as with the latest SVN version I get

hoel@...1850...:~> python -ic "from matplotlib import pylab"
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.5/site-packages/matplotlib/pylab.py", line 208, in <module>
    from matplotlib import mpl # pulls in most modules
  File "/usr/local/lib/python2.5/site-packages/matplotlib/mpl.py", line 2, in <module>
    from matplotlib import axis
  File "/usr/local/lib/python2.5/site-packages/matplotlib/axis.py", line 14, in <module>
    from font_manager import FontProperties
  File "/usr/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 1132, in <module>
    _rebuild()
  File "/usr/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 1123, in _rebuild
    fontManager = FontManager()
  File "/usr/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 913, in __init__
    self.afmdict = createFontDict(self.afmfiles, fontext='afm')
  File "/usr/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 518, in createFontDict
    prop = afmFontProperty(font)
  File "/usr/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 417, in afmFontProperty
    name = font.get_familyname()
  File "/usr/local/lib/python2.5/site-packages/matplotlib/afm.py", line 440, in get_familyname
    return self._header['FamilyName']
KeyError: 'FamilyName'

import pdb
pdb.pm()

/usr/local/lib/python2.5/site-packages/matplotlib/afm.py(440)get_familyname()

-> return self._header['FamilyName']
(Pdb) print self._header
{'Notice': 'Copyright (c) 1999 Adobe Systems Incorporated. All Rights Reserved.', 'Ascender': 883.0, 'FontBBox': [-36, -250, 986, 883], 'Weight': 'Bold', 'Descender': -250.0, 'CharacterSet': 'Adobe-Korea1-0', 'IsFixedPitch': False, 'FontName': 'MunhwaGothic-Bold', 'StartFontMetrics': 4.0999999999999996, 'CapHeight': 883.0, 'Version': '1.000', 'UnderlinePosition': -100, 'Characters': 2549, 'UnderlineThickness': 50, 'ItalicAngle': 0.0, 'StartCharMetrics': 2549}
(Pdb)

The afm file seems to be

rpm -qfi /usr/share/ghostscript/Resource/AFM/MOEKai-Regular.afm
Name : CID-keyed-fonts-MOE Relocations: (not relocatable)
Version : 20021114 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 234 Build Date: So 26 Nov 2006 02:31:56 CET
Install Date: Di 02 Jan 2007 21:53:12 CET Build Host: klempnerei.suse.de
Group : Productivity/Publishing/PS Source RPM: CID-keyed-fonts-MOE-20021114-234.src.rpm
Size : 23618231 License: Contact author, Other License(s), see package
Signature : DSA/SHA1, So 26 Nov 2006 02:35:35 CET, Key ID a84edae89c800aca
Packager : http://bugs.opensuse.org
Summary : MOE CID-Keyed Fonts (for Traditional Chinese)
Description :
This package contains the CID-keyed fonts

MOESung-Regular (Adobe-CNS1-0 subset: 13699 CIDs)
MOEKai-Regular (Adobe-CNS1-0 subset: 13699 CIDs)

These fonts are useful for traditional Chinese--for Taiwan and
Hongkong. The fonts can be used with Ghostscript as well as with X11.

Authors:

···

--------
    Dr. Ken Lunde <lunde@...1851...>
Distribution: openSUSE 10.2 (i586)

But other Asian fonts seem to be affected as well. Is there a solution
besides removing the affected fonts?

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