Font family ['cmb10'] not found

Fedora f15. What am I missing that causes this?

/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242: UserWarning:
findfont: Font family ['cmb10'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1252: UserWarning:
findfont: Could not match :family=Bitstream Vera
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=12. Returning
/usr/share/fonts/texlive-gfsdidot/GFSDidotBold.otf
  UserWarning)
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242: UserWarning:
findfont: Font family ['cmtt10'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242: UserWarning:
findfont: Font family ['cmss10'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))

It looks like it isn't finding the Computer Modern Bakoma fonts. They don't seem to be included in the Fedora Package (see here: http://koji.fedoraproject.org/koji/buildinfo?buildID=230966) and the package does not depend on those fonts. Some of them are packaged in the lyx-fonts package, so installing that may help. But basically this is a packaging bug -- the package should either include the fonts or depend on the fonts. It might be a good idea to file a bug against the python-matplotlib package in the Fedora bug tracker.

Mike

···

On 08/15/2011 07:05 AM, Neal Becker wrote:

Fedora f15. What am I missing that causes this?

/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242: UserWarning:
findfont: Font family ['cmb10'] not found. Falling back to Bitstream Vera Sans
   (prop.get_family(), self.defaultFamily[fontext]))
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1252: UserWarning:
findfont: Could not match :family=Bitstream Vera
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=12. Returning
/usr/share/fonts/texlive-gfsdidot/GFSDidotBold.otf
   UserWarning)
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242: UserWarning:
findfont: Font family ['cmtt10'] not found. Falling back to Bitstream Vera Sans
   (prop.get_family(), self.defaultFamily[fontext]))
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242: UserWarning:
findfont: Font family ['cmss10'] not found. Falling back to Bitstream Vera Sans
   (prop.get_family(), self.defaultFamily[fontext]))

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users