A simple bugfix for a problem found when switching on USE_FONTCONFIG. Reported by Paulo César Pereira de Andrade on matplotlib-devel
Fix USE_FONTCONFIG == True mode.
There appears to be another issue if there are no .afm fonts installed, and a patch was proposed at https://bugzilla.redhat.com/show_bug.cgi?id=896182
Fix for when no afm files are installed. From https://bugzilla.redhat…
….com/show_bug.cgi?id=896182, though fixed in a different way.