setting figure font to helvetica

per freem <perfreem@...287...> writes:

rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
rc('pdf', use14corefonts=True)

then when i open the generated pdf in adobe illustrator i get the error:
"The font "Helvetica-Narrow" contains a bad /BBox."

Helvetica-Narrow is not one of the pdf core fonts. I suspect that the
matplotlib font selection system is matching your specification of
Helvetica with Helvetica-Narrow because it is available on your system
and its name begins with "Helvetica". This must be a bug. I don't have
time to investigate now, so unless someone else has any comments, I
suggest filing this on the sourceforge tracker.

···

--
Jouni K. Sepp�nen