This is maybe another push in the direction of using fontconfig (which claims 
to support otf fonts already).  I'd really prefer to go in that direction 
rather than continue to tack on partial reimplementations of it in 
font_manager.py -- but it does complicate dependencies on non-X11 platforms).

There is experimental support for using fontconfig (through the commandline 
interface, not an API wrapper), that may work.  Just set the USE_FONTCONFIG 
variable to True in font_manager.py.  You will have to copy the MPL fonts to a 
system font directory (such as ~/.fonts) in order for fontconfig to find them.

(I can also look into this myself when I return to the office on Monday...)

Cheers,
Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to