From: <sk...@po...> - 2005-10-06 17:28:59
|
skip> I installed the fink version of mpl on my 10.3.9 laptop the other skip> day. I've not been able to work around font problems ... John> What version of matplotlib are you using. According to fink I am using matplotlib-py24 0.84-2 freetype219 2.1.9-1 freetype219-shlibs 2.1.9-1 The -1 and -2 are presumably fink package numbers. John> I suggest either upgrading to the most recent mpl which should be John> tolerant of bad fonts. Unfortunately, I think I'm as up-to-date as I can get, right? John> If that doesn't work, you might want to look into the font_manager John> module, and hack the font finding machinery to just return the mpl John> system fonts (eg Vera*). If you search for John> self.ttffiles = findSystemFonts(paths) + findSystemFonts() John> you'll find the spot where the font search list is set and you John> could manually hack this. We could provide an override setting John> for the font manager in rc that says "just use such and such font John> dirs". Thanks, I'll check into this this evening... Skip |