Christopher Brown <[EMAIL PROTECTED]> writes: > I have read a little bit online about the difference between types 1 > and 3, but I can't find a description of which font is which type. So > what font should I use?
Try setting the pdf.fonttype parameter in your matplotlibrc file to 42 and see if the resulting file passes validation. Matplotlib currently only uses TrueType fonts, which can be embedded in either Type 3 or Type 42 format. I seem to recall there was some problem with the Type 42 format so Type 3 was made the default; Michael Droettboom probably remembers it better. If you really need to use Type 1 fonts as opposed to TrueType, there actually is some limited support for them in the pdf backend, currently used only by the dviread approach to using LaTeX. You could try setting text.usetex to True - if it works out for you, you should see Type 1 TeX fonts in the output. If not, it will probably take a little hacking to smuggle a Type 1 font (a pfa or pfb file) past the front end, but the pdf backend should then embed it. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users