Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-30 Thread Michael Droettboom
I wasn't aware of these fonts -- we may want to consider distributing them with matplotlib instead (assuming the licensing makes sense) as it would greatly simplify the mathtext code. Of course, that's a project I may not have time for right now. I'll look into the case-sensitivity issue --

Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-30 Thread Michael Droettboom
Michael Droettboom wrote: I wasn't aware of these fonts -- we may want to consider distributing them with matplotlib instead (assuming the licensing makes sense) as it would greatly simplify the mathtext code. Of course, that's a project I may not have time for right now. On further

[Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Tony S Yu
There was a recentthread about the font sizesnot matching up between regular text and math text. I decided I'd try to get matching font sizes by using computer modern as the default font, so I added the following to my matplotlibrc file:font.family: seriffont.serif: cmr10This fixes the font size

Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Michael Droettboom
Those Computer Modern fonts (specifically the Bakoma distribution of them that matplotlib includes) use a custom character set mapping where many of the characters are in completely arbitrary locations. For regular text, matplotlib expects a regular Unicode font (particularly to get the minus

Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Tony S Yu
On Apr 29, 2010, at 10:43 PM, Tony S Yu wrote: On Apr 29, 2010, at 6:09 PM, Michael Droettboom wrote: Those Computer Modern fonts (specifically the Bakoma distribution of them that matplotlib includes) use a custom character set mapping where many of the characters are in completely

Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Tony S Yu
On Apr 29, 2010, at 11:51 PM, Tony S Yu wrote: On Apr 29, 2010, at 10:43 PM, Tony S Yu wrote: On Apr 29, 2010, at 6:09 PM, Michael Droettboom wrote: Those Computer Modern fonts (specifically the Bakoma distribution of them that matplotlib includes) use a custom character set mapping