I want to set all font system to my texts, but I can't set all the fonts. I
am using this code:

font    = FontProperties(   size='small' ,fname = 'Tahoma'      )
self.ax.legend(        line,       label,  legend , prop = font )

It raises this error :
font = FT2Font(str(fname))
RuntimeError: Could not open facefile Tahoma; Cannot_Open_Resource

Should I add a font family for that before? How?
-- 
View this message in context: 
http://www.nabble.com/set-font-problem.-tp19468970p19468970.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to