[matplotlib-devel] setting the font name directly

2008-09-03 Thread Jae-Joon Lee
Hello, When I need to use unicode string in matplotlib, I often set the font name directly as below. import matplotlib.font_manager as fm fp1=fm.FontProperties(fname=/users/research/lee/.fonts/malgun.ttf) This used to work. But not anymore. And I guess this is related with a recent change in

Re: [matplotlib-devel] setting the font name directly

2008-09-03 Thread Michael Droettboom
Yes. The FontProperties objects have a list of options that they try in order. (The fname parameter is sort of an implementation detail rather than a public API.) Cheers, Mike Jae-Joon Lee wrote: Hello, When I need to use unicode string in matplotlib, I often set the font name directly