Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Rob Hetland
Done and committed. It seems a recent commit has severely broken my font loading. When I start MPL now, I get an infinite stream of messages similar to: Found an unknown keyword in AFM header (was ) Found an unknown keyword in AFM header (was !% ##2*3*9*:*[EMAIL PROTECTED]@;;C#C)*=AB879(')

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Michael Droettboom
Hmm... I'm not readily able to reproduce this here. What are you setting in matplotlibrc (or in your plot?) Also, if you delete the font cache (which is now ~/.matplotlib/fontManager.cache), does that help? (Might be a useful data point -- not suggesting it as a solution.) Cheers, Mike Rob

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Rob Hetland
What are you setting in matplotlibrc (or in your plot?) Also, if you delete the font cache (which is now ~/.matplotlib/fontManager.cache), does that help? (Might be a useful data point -- not suggesting it as a solution.) Well, I've been trying out the Arev fonts, as you know, so I changed

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Eric Firing
Mike, Rob, One of the changes I made was to cause the afmdict to be generated automatically at the start rather than on demand. The problem you are having seems related to afm fonts, so I suspect this is it. What is your rcParams['pdf.use14corefonts'] setting? Please try reversing it, and

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Eric Firing
Rob, Mike, What this implies to me is that either there is a problem with the code that is generating afmdict (and I did not change that code, I just caused it to be invoked when the fontManager instance is created.), or there is a problem with some .afm files on Rob's machine. I really don't

Re: [matplotlib-devel] Font installation stuff

2007-08-13 Thread Michael Droettboom
Quick status update -- I've committed code to font_manager that will retrieve the list of all installed fonts from fontconfig if available (using making a shell call to fc-list). This will handle the cases where users want to use fonts that have been installed in non-standard places or their

Re: [matplotlib-devel] Font installation stuff

2007-08-13 Thread Eric Firing
Michael Droettboom wrote: Just wanted to link up this thread with a question I posed on the cairo mailing list. http://lists.cairographics.org/archives/cairo/2007-August/011201.html Cheers, Mike Eric Firing wrote: Michael Droettboom wrote: [...] One middle ground I thought of since my first