Dear all,

I am having big problems to produce an eps figure with Type 1 fonts
(Times New Roman) using matplotlib.

I try to follow what it is proposed here:
http://stackoverflow.com/questions/13132194/type-1-fonts-with-log-graphs

but I get errors:

/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-x86_64.egg/matplotlib/font_manager.py:1236:
UserWarning: findfont: Font family ['Times New Roman'] not found.
Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-x86_64.egg/matplotlib/font_manager.py:1246:
UserWarning: findfont: Could not match :family=Bitstream Vera
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=14.0.
Returning /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf
  UserWarning)

It seems that Times New Roman, which is installed in my system, is not
accesible by matplotlib, as after doing:

>>> from matplotlib import font_manager
>>> font_manager.findfont('Times New Roman')

I get the same error as above.

Anyone has any idea? I am using Python 3.4.1 from Debian unstable and
Matplotlib1.3.1 compiled from source due to this bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751692

Best wishes,

-- 
Francisco J. Hernández

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to