Lionel Roubeyrie <[EMAIL PROTECTED]> writes:

> Oups, sorry for the mistake, the Vera font in the resulting pdf file from 
> epstopdf is effectively converted to T3Font_0 Type 3. 
> You can have a look here:
> http://www.limair.asso.fr/share/pre2.eps and
> http://www.limair.asso.fr/share/pre2.pdf

The Type 3 font is present in the eps file, so it is not created by
the conversion to pdf. Perhaps it is an artifact of the "distilling"
done by matplotlib; if you set ps.usedistiller to None, what does the
eps file look like?

Somehow the Cmr and Cmmi fonts survive as TrueType. One quick
workaround for your problem could be to turn all text into mathtext:
replace e.g. "février" by r"$\rm{f\'evrier}$" and for the yticklabels
do something like (caveat: untested code)

    for x in getp(gca(), 'yticklabels'):
        setp(x, 'text', r'$\rm{%s}$' % getp(x, 'text'))

(Or is there an easier way to select Computer Modern Roman as the
font?)

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to