On Sunday 04 November 2007 8:50:48 am Michael Droettboom wrote: > 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).
What are the dependency problems? I thought freetype was the only requirement. Incidentally, GIMP uses fontconfig on windows, and they comment at http://www.gimp.org/~tml/gimp/win32/downloads.html: "Contrary to what many seem to think, fontconfig is in no way dependent on X11, so it does make some sense to use it on Windows." > 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...) Same here, I'll have a look on Monday. ------------------------------------------------------------------------- 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