Re: [Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Yuri Bendaña
Thanks Michael! I installed fondu and converted my Helvetica.dfont to .ttf and put them in /Users/ybendana/Library/Fonts. However, the fontManager was still picking up the /System/Library/Fonts/Helvetica.dfont. As a workaround, I edited font_manager.py line 209 in findSystemFonts() to build the

Re: [Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Jouni K . Seppänen
"Yuri Bendaña" <[EMAIL PROTECTED]> writes: > For example, the following doesn't work: > figtext(0.8,0.3,"Large Folds", weight='bold', fontname='Helvetica') > I only get the default font (I believe it's Vera) and no bold. Yes, I think that's a known bug. The font manager doesn't know how to read

Re: [Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Michael Droettboom
Yuri, A .dfont file can be seen as a collection of .ttf files. A .dfont generally will contain the regular, bold and italic versions of a font, but matplotlib is hardcoded to only look at the first of them. So when you request "sans-serif", you get Helvetica. When you request "sans-serif:bo

[Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Yuri Bendaña
Hi, I'm a new user and I installed matplotlib 0.90.1 on Mac 10.4.9. I'm using the WxAgg backend, which I installed using MacPorts. I haven't had a problem so far except when I try to change font properties like family, fontname, and weight. For example, the following doesn't work: figtext(0.8