Rob Hetland wrote:
> I really like Arev Sans, but others like the new STIX fonts.  This 
> setup is for Arev Sans.  The important stuff is what begins with 
> mathtext.  If you want serif fonts, this should be enough to get you 
> started on customizing.  Just make sure whatever fontset you pick has 
> all of the math symbols built in, or change fallback_to_cm to True.
When I converted my matplotlibrc to the settings you listed, the result 
was pages and pages of exception tracebacks ending in:

C:\Python25\Lib\site-packages\matplotlib\mathtext.py in _get_font(self, 
font)
    590         cached_font = self._fonts.get(basename)
    591         if cached_font is None:
--> 592            font = FT2Font(basename)
    593            cached_font = self.CachedFont(font)
    594            self._fonts[basename] = cached_font

If I remove all the LaTeX from my expressions, this error goes away.

Jordan

TypeError: cannot return std::string from Unicode object




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to