Times-Roman Font

Dear Jiri,

from the matplotlibrc file:

...
font.serif : New Century Schoolbook, Century Schoolbook L,
Utopia, ITC Bookman, Bookman, Bitstream Vera Serif, Nimbus Roman No9 L,
Times New Roman, Times, Palatino, Charter, serif
font.sans-serif : Lucida Grande, Verdana, Geneva, Lucida, Bitstream
Vera Sans, Arial, Helvetica, sans-serif
font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand,
cursive
font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Western,
fantasy
font.monospace : Andale Mono, Bitstream Vera Sans Mono, Nimbus Mono
L, Courier New, Courier, Fixed, Terminal, monospace
font.latex.package : type1cm # This must be an available LaTeX font
#package, like 'times' or 'pslatex' ; only applies if text.usetex is set

### TEXT
# text properties used by text.Text. See
# http://matplotlib.sourceforge.net/matplotlib.text.html for more
# information on text properties
text.color : black
text.usetex : False # use tex/latex for all text handling. See
http://matplotlib.sf.net/matplotlib.texmanager.html
text.tex.engine : latex # tex is faster, but latex is required to
use special font packages
...

Ok, so let's try: 'Time'

Alternatively,

set:

font.latex.package : times # This must be an available LaTeX font
text.usetex : True # use tex/latex for all text handling. See
http://matplotlib.sf.net/matplotlib.texmanager.html
text.tex.engine : latex # tex is faster, but latex is required to
use special font packages

PS: Remember to "flush" ...\.matplotlib\tex.cache between font changes

Hope it works,

Regards,

Peter-Jan

···

-----Original Message-----
From: Jiri Polcar [mailto:polcar@…875…]
Sent: 03 November 2005 09:29
To: Randewijk P-J <pjrandew@…841…>
Subject: Re: [Matplotlib-users] Times-Roman Font

On Wed, Nov 02, 2005 at 12:39:40PM +0200, Randewijk P-J > <pjrandew@...841...> wrote:
> Try: 'Times New Roman'
>

It does not work.

--
JP

> > -----Original Message-----
> > From: matplotlib-users-admin@lists.sourceforge.net
> > [mailto:matplotlib-users-admin@lists.sourceforge.net] On
> > Behalf Of Jiri Polcar
> > Sent: 02 November 2005 12:34
> > To: Mailinglist matplotlib-user
> > Subject: [Matplotlib-users] Times-Roman Font
> >
> >
> > Good day,
> >
> > is possible to use Times-Roman font in my plots? I try to use
> >
> > rc('font', family='times-roman')
> >
> > but it is not working.
> >
> > --
> > JP