matplotlib svn bug: "Found an unknown keyword in AFM header..."?

Jouni K. Sepp�nen <jks@...397...> writes:

Another data point: a recent svn version of matplotlib segfaults on my
OS X system, and ktrace suggests it occurs while it is reading
CharcoalCY.dfont.

Looks like a freetype bug: the following code segfaults when linked
against libfreetype.6.3.10 but not when linked against
libfreetype.6.3.16. Freetype has some code to read dfont files, which
apparently had a bug in the older version, and this is triggered by the
new code that reads in all font files.