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

Re: [matplotlib-devel] [Matplotlib-users] How to use different fonts in mathtext

2007-08-13 Thread Rob Hetland
On Aug 13, 2007, at 10:37 AM, Michael Droettboom wrote: > mathtext.use_cm : False > mathtext.fallback_to_cm : True > mathtext.cal : (['Arev Sans'], 'normal', 'oblique') > mathtext.it : (['Arev Sans'], 'normal', 'oblique') > mathtext.rm : (['Arev Sans'], 'normal', 'normal') > mathtext.bf : (['Ar

Re: [matplotlib-devel] [Matplotlib-users] How to use different fonts in mathtext

2007-08-13 Thread Rob Hetland
On Aug 13, 2007, at 10:37 AM, Michael Droettboom wrote: > I put all the Arev fonts in my > ~/.fonts (which is now looked at by matplotlib) FontBook (a Mac font manager) put user installed fonts into ~/Library/ Fonts by default. Perhaps this would also be a good place for MPL to look for font

Re: [matplotlib-devel] Font weirdness

2007-08-13 Thread Darren Dale
On Monday 13 August 2007 01:53:40 pm David Huard wrote: > Hi, > > I noticed a strange behavior and I'm not sure whether it is intended or > not. > > > With the usetex option set to True, the fonts used in ticklabels change > when using a custom formatter. So for instance > > from pylab import * > r

[matplotlib-devel] Font weirdness

2007-08-13 Thread David Huard
Hi, I noticed a strange behavior and I'm not sure whether it is intended or not. With the usetex option set to True, the fonts used in ticklabels change when using a custom formatter. So for instance from pylab import * rcParams['text.usetex']=True s = subplot(111) s.xaxis.set_major_formatter(F

Re: [matplotlib-devel] [Matplotlib-users] How to use different fonts in mathtext

2007-08-13 Thread Michael Droettboom
Michael Droettboom wrote: > Rob Hetland wrote: >> On Aug 6, 2007, at 4:03 PM, Michael Droettboom wrote: >> I have been thinking that it might be possible to use some of the CM >> sans fonts, like CM bright. Also, there is a Arev font set (vera, >> backwards -- basically Bitstream Vera with math

Re: [matplotlib-devel] [Matplotlib-users] How to use different fonts in mathtext

2007-08-13 Thread Michael Droettboom
Rob Hetland wrote: > > On Aug 6, 2007, at 4:03 PM, Michael Droettboom wrote: >> There is now experimental support for custom fonts in math mode. >> Try the above, and let me know how it goes... > > I finally had time to try out your new code a bit, and I like it. It > works well for the very si

Re: [matplotlib-devel] [Matplotlib-users] How to use different fonts in mathtext

2007-08-13 Thread Michael Droettboom
Rob Hetland wrote: > > On Aug 6, 2007, at 4:03 PM, Michael Droettboom wrote: >> There is now experimental support for custom fonts in math mode. >> Try the above, and let me know how it goes... > > I finally had time to try out your new code a bit, and I like it. It > works well for the very si

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 d

Re: [matplotlib-devel] Font installation stuff

2007-08-13 Thread Michael Droettboom
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 message is to use >>