Hello! I am creating a plot and I select the font type to be TrueType (by using rcParams['ps.fonttype'] = 42). I am using this image later on in a tex file and when I am creating the pdf file I check for the font types and I see name type emb sub uni object ID [none] Type 3 yes no no 160 0 But if I comment the legend while making the plot then I do not get a Type 3 font. Why is that? It seems that the fonttype does not apply to the legend (or am I missing something?). Best Grigoris
Thanks to this post ( http://nerdjusttyped.blogspot.gr/2010/07/type-1-fonts-and-matplotlib-figures.html) I used the rcParams['text.usetex'] = True (after installing dvipng) and the final plot had only Type 1 fonts. Grigoris On 11/23/2013 02:21 PM, Grigoris Maravelias wrote: > Hello! > > I am creating a plot and I select the font type to be TrueType (by > using rcParams['ps.fonttype'] = 42). > I am using this image later on in a tex file and when I am creating > the pdf file I check for the font types and I see > name type emb sub uni > object ID > [none] Type 3 yes no no > 160 0 > > But if I comment the legend while making the plot then I do not get a > Type 3 font. > > Why is that? It seems that the fonttype does not apply to the legend > (or am I missing something?). > > Best > > Grigoris